Make it: <cfinput type="checkbox" name="all" checked="#form.all#" value="yes">
The default value for a checkbox, if checked, is 'on'. We need it to be 'yes' instead, so we set it explicitly. Now when the form reloads, checked will be 'yes' if it was already checked and 'no' (from the <cfparam> tag at the top) if it wasn't checked. Almost there! Dave -----Original Message----- From: Barry Mcconaghey [mailto:[email protected]] Sent: Wednesday, July 15, 2009 11:33 AM To: cf-newbie Subject: Re: Session Variables I'm rec. this error if the checkbox (name="all") is checked and I type the wrong captcha letters or numbers. cannot convert the value "on" to a boolean ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:4637 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
