用js来控制:
textbox里面 onPropertyChange="textCounter(this, 70)"
js:<script>
function textCounter(field, maxlimit) {
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
}
</script>
textbox里面 onPropertyChange="textCounter(this, 70)"
js:<script>
function textCounter(field, maxlimit) {
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
}
</script>