I'm not sure if this will help but how about escaping the forward slashes;
^\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}$you may have to escape the backslashes as well (you have to do this when constructing a RE in C:
^\\d{2}\\/\\d{2}\\/\\d{4} \\d{2}:\\d{2}$don't know about javascript... just a thought.
Dean Hoover
Ivan wrote:
Hi,
I have a form field representing a date in the format dd/MM/yyyy HH:mm (14/05/2004 13:03) My problem is that validator cannot handle time in its date validations rutines.
Neither using mask validation with the regular expression ^\d{2}/\d{2}/\d{4} \d{2}:\d{2}$ works, because it throw a javascript error (!)
date doens t work mask doesn t work
any viable solution?
regards,
ivan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

