[thelist] validation expression help
Casey Crookston
casey at thecrookstons.com
Wed Dec 29 18:51:08 CST 2004
I need to use a Validation Expression to make sure a date is entered
correctly.
ValidationExpression="\d{2}/\d{2}/\d{4}"
That works unless the date is something like 1/1/2004.
ValidationExpression="\d{1}/\d{1}/\d{4}"
That works unless the date is something like 10/10/2004.
How do you build an option into the expression to allow 1 or 2 numbers?
Thanks, Casey
More information about the thelist
mailing list