Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Validation

Avatar

Not applicable
I have a validation for a textbox, javascripts code is as follows.



txtAppNumber.validate.formatTest = "error";

txtAppNumber.formatMessage = "US application number format SS/NNNNNNN.";

txtAppNumber.validate.picture.value = "99/999999";



My problem is that am entering the right value even though it is showing me same an error message. I don't have any other validation set using Accessiblity->Field.



I don't have any clue how to fix this issue.



Thanks in advance.



Regards

Arunesh
0 Replies

Avatar

Level 4
You have 7 digits after the slash, but only 6 in the validation pattern. Might not be the issue but worth discounting first of all.