The problem is:

If you have a field named something_date, CF will try to validate a
formfield something as a US date. As the field something doesn't exist,
the validation will fail. The value of the form field is used as
errormessage (that's why the message is like that).
The solution is to change the name of the formfield something_date. If
you _absolutly_ want that name kept, create a hidden formfield with the
name 'something' and the value '01/01/2000'.

Pascal Peters
Macromedia Certified Instructor
Certified ColdFusion (5.0) Advanced Developer
Certified Web Developer
LR Technologies, Belgium
Tel     +32 2 639 68 70
Fax     +32 2 639 68 99
Email   [EMAIL PROTECTED]
Web     www.lrt.be



-----Original Message-----
From: Tyler Clendenin [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 18 december 2001 21:29
To: CF-Talk
Subject: Re: problems with _date


ok, but that does not explain why i am getting this error.  the date
seems
to be a properly formatted date

----- Original Message -----
From: "Howie Hamlin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 3:04 PM
Subject: Re: problems with _date


> 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
> >
> >
> >
> >
> 

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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