Form fields ending in _date are reserved words for CF form validation.
Been part of CF since at least CF5.0.

http://livedocs.macromedia.com/coldfusion/6/Developing_ColdFusion_MX_App
lications_with_CFML/Elements15.htm

http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000188.htm

 



-----Original Message-----
From: Brian Dumbledore [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 27, 2006 5:20 PM
To: CF-Talk
Subject: form.fieldnames does not bring all values.

Here is a weird one unless I am missing something.

I have a form with lots and lots of checkboxes, three of them are

sh_buy_c_date,sh_sel_c_date,sh_mkt_time

all three are checkboxes. I check ALL checkboxes on the form, submit it,
loop over form.fieldnames list, the above three are not in the list.
However, when I do a isdefined() on each of them they exist. 

now, I changed the names to end as ...date1,...time1. Then they showup
in form.fieldnames list.

Is this a bug? What's so special about the names ending in date,time? Do
the above names qualify as coldfusion reserved words? Why is coldfusion
doing this? Cananyone throw some light on this? Thanks for your time

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244920
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to