The other option is to use "yes" and "no" radio buttons instead of checkboxes, 
where the radio buttons default to "no".  That way, the field always exists, 
but you still get the difference between 1 and 0.  Checkbox that is unchecked 
really doesn't exist in the POST, so the CFIF solution is pretty much required 
otherwise, yes.



>Is that the only way?
>
>It's a questionnaire form with 50 questions! You mean I have to do a <cfif>
>for every question and assign it a blank value if there's no value!?
>
>wrap it in a <cfif> so..
><cfif isundefined("form.q1")>
>           <cfset form.q1 = "">
></cfif>
>
>Rob
>
>
>
>to 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314473
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to