In CF5, fieldname_required in a form checks that form.fieldname exists and
has a value.




-----Original Message-----
From: Cassidy Symons [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 20, 2004 12:41 PM
To: CF-Talk
Subject: Is form.evaluation_required some sort of reserved name?


I'm have a really weird problem here...I've got a form, and one of the
fields is called 'evaluation_required' - it's a Yes/No field with values
of 1/0. The column in the database has the same name, and is a BIT field
(technically TINYINT(1) since MySQL has no real BIT, but...).

When I submit the form including that field, I receive this error message:


Form Entries Incomplete or Invalid
One or more problems exist with the data you have entered.

     * 0

Use the Back button on your web browser to return to the previous page
and correct the listed problems.



Obviously the 0 can either be 0 or 1, and I checked, it bombs on both
values (and any other value for that matter). It also bombs regardless
of what type of form field I use (select, text, radio, hidden, etc.),
but when I change the field name to evaluation_required2, it goes
through just fine.

I did a quick search on Google for 'form.evaluation_required' and
'evaluation_required' and turned up nothing related to ColdFusion. Has
anyone ever run into this before? I've never known
form.evaluation_required to be an illegal field name...is it?

Thanks.

Cassidy

--
"Really, I'm not out to destroy Microsoft. That will just be a
completely unintentional side effect." - Linus Torvalds



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182023
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