>     <CFPARAM Name="Dh" Default=0>
>                 <CFIF val(Dh)>
>           <CFSET Dh = 1>
>         <CFELSE>
>           <CFSET Dh = 0>
>         </CFIF>

You're repeating yourself, I say repeating yourself here.

<cfparam name="dh" default="0">

That creates the variable DH with the value of 0.

 <cfinput type="checkbox" name="Dh" id="Dh">
Daily Hunts<br />

Here you are missing the value attribute.  You can set it to "1" and
your life is going to be much easier soon.  Without the value
attribute, forms send the word "ON" if a checkbox is checked.

Between the two changes you can eliminate the cfif check after each parameter.

Hatton

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

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3474
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