T
tshad
I have a RegularExpressionValidator that is testing a field to make sure the
number is between 0 and 255. It works fine in IE, but doesn't work in
Mozilla or Firefox.
<asp:RegularExpressionValidator ID="Years"
ControlToValidate="YearsComplete" Display="Dynamic"
ErrorMessage="<br>Not a valid number"
ValidationExpression="(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
Runat="server"/>
Why doesn't it work?
Does this mean none of my Validators are working for these Browsers?
Thanks,
Tom
number is between 0 and 255. It works fine in IE, but doesn't work in
Mozilla or Firefox.
<asp:RegularExpressionValidator ID="Years"
ControlToValidate="YearsComplete" Display="Dynamic"
ErrorMessage="<br>Not a valid number"
ValidationExpression="(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
Runat="server"/>
Why doesn't it work?
Does this mean none of my Validators are working for these Browsers?
Thanks,
Tom