How to limit the number of characters accepted by the Field
This script allows you to set a limit to the number of characters that are accepted for the Field.
If there are more characters, then they will be ignored.
var length=this.Field("example").Text.length;
if (length>3){
this.Field("_123").Text=this.Field("example").Text.substring(0,3);
}
Comments
0 comments
Please sign in to leave a comment.