Let's say I'm making a page that contains a form. The form submits to the same 
page where error checking is done. If there are no errors, it continues on 
elsewhere. If there ARE errors, a list is compiled and output above the form to 
let the person know what they missed ("please enter your name" and such.) In 
order to keep the person from having to fill out the entire form again the form 
fields all contain #FORM.fieldname# but what about checkboxes and radio 
buttons? 

Obviously you could do a <cfif FORM.fieldname EQ 
"red">selected="selected"</cfif> inside the tag of every single one but it 
seems like that would get unwieldy in longer forms. Is there an easier way? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4944
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to