(the few others)

_required
_date
_time
_integer
_float
_eurodate
_range

-----Original Message-----
From: Darryl Lyons [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 4:30 PM
To: CF-Talk
Subject: RE: Strangest Problem in a long time


If you use "_date" appended to your field names CF will try to validate the
field. Therefore the form field is in fact called "ticketXXdue" rather than
"ticketXXdue_date". Just change the name of the field to not end with
"_date" ("_required" or a few other reserved names).

Darryl

-----Original Message-----
From: Leon Oosterwijk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 7:36 AM
To: CF-Talk
Subject: Strangest Problem in a long time


People, 

I've encountered the strangest problem in a long time using Cold Fusion.
I've got a form which posts to a Cold fusion page. One of the form elements
is:

<INPUT SIZE="25" NAME="ticketXXdue_date" TYPE="text" MAXLENGTH="50"
SIZE="25" VALUE=""   MAXLENGTH="50">

When I look at my Cold Fusion Debugging information on the page that is
supposed to use this form:

FIELDNAMES=TICKETXXTYPE_ID,TICKETXXCATEGORY_ID,TICKETXXDESCRIPTION,TICKET_AC
TIONXXTICKET_OWNER_ID,TICKET_ACTIONXXTECHGROUP_ID
TICKET_ACTIONXXTECHGROUP_ID=0
TICKET_ACTIONXXTICKET_OWNER_ID=1
TICKETXXCATEGORY_ID=4
TICKETXXDESCRIPTION=dink
TICKETXXDUE_DATE=10-26-01
TICKETXXREMIND_DATE=
TICKETXXTYPE_ID=2

When I go through the output from the form.fieldnames:
TICKETXXTYPE_ID,TICKETXXCATEGORY_ID,TICKETXXDESCRIPTION,TICKET_ACTIONXXTICKE
T_OWNER_ID,TICKET_ACTIONXXTECHGROUP_ID

As you can see, the due_date (along with the remind_date) are not showing
up! Consequently my Database is not inserting this field and my application
is not behaving the way I want it. 

When I change the fieldname to anything but due_date (say TICKETXXDUE_DODO)
It will show up. 

It seems to me like there is something that the Cold fusion server does to
form entries that contain a _date in their name. But I cannot verify this.
Has anyone else had experience with this? 



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