That's by design in ColdFusion:

The following table describes the hidden field suffixes that you can use to do 
validation:  

_integer

     Custom error message
     Verifies that the user entered a number. If the user enters a floating point 
value, it is rounded to an integer.

_float

     Custom error message
     Verifies that the user entered a number. Does not do any rounding of floating 
point values.

_range

     MIN=MinValue
      MAX=MaxValue
     Verifies that the numeric value entered is within the specified boundaries. You 
can specify one or both of the boundaries
separated by a space.

_date

     Custom error message
     Verifies that the user entered a date and converts the date into the proper ODBC 
date format. Will accept most common date
forms; for example,
      9/1/98; Sept. 9, 1998.

_time

     Custom error message
     Verifies that the user correctly entered a time and converts the time to the 
proper ODBC time format.

_eurodate

     Custom error message
     Verifies that the user entered a date in a standard European date format and 
converts into the proper ODBC date format.

Regards,

Howie

----- Original Message ----- 
From: "Tyler Clendenin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 3:02 PM
Subject: problems with _date


> has anyone seen this before?  we arte having big problems with any form 
> fields ending with _date
> please help =(
> 
> Form Entries Incomplete or Invalid
> One or more problems exist with the data you have entered. 
>   a.. 12/20/2001 
> 
> Use the Back button on your web browser to return to the previous page 
> and correct the listed problems. 
> 
> 
> -------------------------------------------------------------------------
> -------
> 
> 
> 
> Parameters
> Form Fields:
> 
> FIELDNAMES=NEWS,FUSEACTION,RFA,SUBBUT
> FUSEACTION=Events.EditNewsAct
> NEWS=Wer dude
> NEWS_DATE=12/20/2001
> RFA=Events.EditEvent
> SUBBUT=edit News
> 
> 
> 
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to