


I have a Text Field that has a Comb of 6 characters. The uses should input either a 5 or 6 characters in this field. Is there a way to give an error message if the user does not input at least 5 characters?
Thanks for you assistance,
Parre
Views
Replies
Sign in to like this content
Total Likes
Try this code in the Exit event of the field with JavaScript as the language..
if(TextField1.rawValue.length<5){
xfa.host.messageBox("The field length should be minimum 5 characters");
xfa.host.setFocus(this);
}
Thanks
Srini
Views
Replies
Sign in to like this content
Total Likes
Try this code in the Exit event of the field with JavaScript as the language..
if(TextField1.rawValue.length<5){
xfa.host.messageBox("The field length should be minimum 5 characters");
xfa.host.setFocus(this);
}
Thanks
Srini
Views
Replies
Sign in to like this content
Total Likes
Thanks you once again. It worked.
Views
Replies
Sign in to like this content
Total Likes