RE: Simple way to check for valid date?

2003-12-05 Thread Michael Wolfe
003 2:25 AM To: CF-Talk Subject: RE: Simple way to check for valid date? YOU'RE KIDDING!!!  I looked at that function and came to the conclusion it wasn't for that, but for checking that the format of the string was really a date.   Cool. It checks the calendar too. Sometimes the most s

RE: Simple way to check for valid date?

2003-12-05 Thread Mike Kear
n the face. Thanks Michael. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Michael Wolfe [mailto:[EMAIL PROTECTED] Sent: Friday, 5 December 2003 8:58 PM To: CF-Talk Subject: RE: Simple way to check for valid date?     -- Michael Wolfe [EMAIL

RE: Simple way to check for valid date?

2003-12-05 Thread Michael Wolfe
    -- Michael Wolfe [EMAIL PROTECTED] -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:49 AM To: CF-Talk Subject: Simple way to check for valid date? I have a form where users enter dates by selecting from drop-down menus for date

RE: Simple way to check for valid date?

2003-12-05 Thread Dan Farmer
How about this Take the form values... form.theyear ""  form.themonth  "mm"   form.theday "dd" submit the form to a temporay page where you will combine them into one "form.thedate" ( but this time use the name="thedate_date" value="enter the date"> validation tag. Write out all the fo

Simple way to check for valid date?

2003-12-05 Thread Mike Kear
I have a form where users enter dates by selecting from drop-down menus for date, month and year.  Is there a simple way to check they have entered a valid date rather than a laborious checking for leap year, if the month is april and date greater than 30 etc etc etc? I get errors if they choose 3