J Jon Paal Jan 29, 2007 #1 this validationexpression fails for "mm/dd/yyyy" what is correct pattern ? ValidationExpression="(^\d{1,2}/|-\d{1,2}/|-\d{4}$ )"
this validationexpression fails for "mm/dd/yyyy" what is correct pattern ? ValidationExpression="(^\d{1,2}/|-\d{1,2}/|-\d{4}$ )"
M Mark Rae Jan 29, 2007 #2 this validationexpression fails for "mm/dd/yyyy" what is correct pattern ? ValidationExpression="(^\d{1,2}/|-\d{1,2}/|-\d{4}$ )" Click to expand... You can't validate dates this way - this would allow e.g. 99/99/0000 Are you trying to do this in client-side JavaScript...?
this validationexpression fails for "mm/dd/yyyy" what is correct pattern ? ValidationExpression="(^\d{1,2}/|-\d{1,2}/|-\d{4}$ )" Click to expand... You can't validate dates this way - this would allow e.g. 99/99/0000 Are you trying to do this in client-side JavaScript...?
G Guest Jan 29, 2007 #3 Hi, In addition to Mark's reply you have to consider every aspect of the date validation, lexical and logical validation (number of days in a certain month, leap years etc.)
Hi, In addition to Mark's reply you have to consider every aspect of the date validation, lexical and logical validation (number of days in a certain month, leap years etc.)