I have noticed this too 

Form.Fieldnames variable gives wrong results if you have a field name that
ends with "date". So if you have a field called "s_date" - the
form.FIELDNAMES variable will not have that as a value. 

Looks like a bug... i just renamed my fields and it worked.

DK

-----Original Message-----
From: Tom McNeer [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 4:33 PM
To: CF-Talk
Subject: Missing value in the Form.Fieldnames variable


Just curious if anyone else has experienced this:

I was looping over the fields of a submitted form using the
Form.Fieldnames variable, and I noticed that there were missing
fieldnames.

When I looped over StructKeyList(form), the fieldnames were all there.

I couldn't find any commonality among the missing fields except that
they contained date values (or empty strings, for omitted date
values). Both had been run through the cfform validate=date routine.
Or more correctly, both fields had those routines assigned, although
values were not required in the fields. I don't know if this had any
impact on the missing fields or not, but they were the only ones
missing.

This was on a server running CFMX 6.1.

Has anyone seen this behavior, or have any thoughts on why it might
have occurred?

-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
530 Means St NW, Suite 110
Atlanta, GA 30318
404.589.0560



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213815
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to