For what it's worth, I like to do the following with checkboxes: <!--- the form page ---> <input type="checkbox" name="foobar" value="1" />
<!--- the processing code ---> <cfparam name="form.foobar" default="0" /> <cfif Val(form.foobar)> ... </cif> While not much different in terms of your example, I find it particularly clean when saving a boolean choice to a db, ie. <cfparam name="form.foobar" default="0" /> <cfquery datasource="#_dsn#"> UPDATE foobar SET myBitField = <cfqueryparam cfsqltype="cf_sql_bit" value="#Val(form.foobar)#" /> </cfquery> Dominic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:320154 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

