<form action="actfile.cfm"> <input type="checkbox" name="ckbox1" value="1" /> </form>
actfile.cfm <cfparam name="form.ckbox1" default="0" > -----Original Message----- From: Donna French [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 4:36 PM To: CF-Talk Subject: checkboxes what's the best method for dealing with checkboxes? i want to insert a 1 if checked, a 0 if not. should i set the value in my form, or check the "checked" status in my insert query and set the value there? i know this should be simple but i've stared at it so long now i've confused myself. tia, donna -- ------------------------ Donna French [EMAIL PROTECTED] Blog: http://dgfrench.blogspot.com Site: http://www.dgfrenchdesigns.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191281 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54