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.
Views
Replies
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
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
Total Likes
Thanks you once again. It worked.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies