im making a form for people to fill out and submit. when they click the submit button it emails me the information thru php. i got everything working, but when i decided to change it a little i ran into a problem i can't seem to figure out. How do i set variables for checkboxes so when they click it, it will set the variable and if they deselect it, it will unset the variable. i was reading threads and saw one said to post in javascript forum so thats why im posting here. So basically what i want to do is when they click the checkbox, it sets the variable and if the deselect it, it will unset the variable.