In a textbox field user is supposed to enter a 5 digit #. I added a RegularExpressionValidator with the following settings:
ControlToValidate: point to textBox user needs to enter 5 digits
ErrorMessage: "Field should contain 5 digits"
ValidationExpression: \d{5}
When I run the webform If I type anything in the textBox I see the error message. If I then change it to a 5 digit # it still keeps the error message. Could someone help me figure what I left out? Thanks!
ControlToValidate: point to textBox user needs to enter 5 digits
ErrorMessage: "Field should contain 5 digits"
ValidationExpression: \d{5}
When I run the webform If I type anything in the textBox I see the error message. If I then change it to a 5 digit # it still keeps the error message. Could someone help me figure what I left out? Thanks!