CompareValidator issue on Firefox
- by costin
Hi,
I need to validate a date in a web forms application. For this I use a CompareValidator with
Operator="DataTypeCheck" Type="Date"
The problem is that this Validator doesn't work properly on Firefox with 2 digit years. ( javascript error: m[2] is undefined)
With a 4 digits year it's working properly.
This problem is described also here:
https://connect.microsoft.com/VisualStudio/feedback/details/355573/comparevalidator-client-side-bug-two-digit-year-in-mozilla-based-browsers-throws-js-exception
Does anyone know a nice workaround for this?
Thanks