Expand my Community achievements bar.

Validation

Avatar

Former Community Member
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
1 Reply

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.