Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
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
Solved! Go to Solution.
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
View solution in original post
Thanks you once again. It worked.
Views
Likes
Replies