how about this:

<input type="checkbox" name="faddCherry" <cfif (getIceCream.addCherry
eq 1)>checked="checked"</cfif> value="1"/>
<input type="hidden" name="faddCherry" value=""/>

This way, only if the box is checked will you get a value of 1, but it
will always be in your form.


On 10/27/06, Paul Ihrig <[EMAIL PROTECTED]> wrote:
> Ok now i have the zero thing fixed
> but my hidden filed over rides my newly uncheked value
>
> <input type="checkbox" name="faddCherry" <cfif ("#getIceCream.addCherry#" EQ
> 1)>checked="checked"</cfif> value="1">
> <cfif ("#getIceCream.addCherry#" NEQ 1)>
> <input type="hidden" name="faddCherry" value="0">
> </cfif>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:218593
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to