Remember that the Form.VarName will only be passed if checked, so in your
action page you will need to loop through all possible names to check to see
if the Fomr.VarName exists.....

Andy

-----Original Message-----
From: Donna French


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.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to