Is there a way to specify a checkbox's unticked value, or is the only option to use a yes/no radio button?
At present, the value of the unticked checkbox is NULL. I'd like it to be zero (I know it's a subtle difference, but I want the zero value to change a session variable, but the null value between pages should not alter the session).HTML Code:<input type="checkbox" name="name" value="1" />




Bookmarks