Does anyone recall if there is a known bug in the javascript that CF builds
on VALIDATE DATE with the CFINPUT tag?

For Example, I'm using

<CFINPUT TYPE="Text" NAME="shpdte" MESSAGE="Please enter a date in MM/DD/YY
format" VALIDATE="date" REQUIRED="Yes" SIZE="10">

If someone enters 05/05/00, 05/05/2000 is entered in the database, and no
error is thrown by the javascript.

If someone enters 05/05/2000, 05/05/2020 is entered in the database, and no
error is thrown either.

It appears that even though in the help file, VALIDATE DATE is supposed to
validate in the DD/MM/YYYY format, it's really only taking the first two
digits of YY and appending that to 20 to build the date.

Am I missing something? can anyone verify this?

Thanks

Shane

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to