How to send 0 value for non selected checkbox
If I select my checkbox in my form the value 1 is being saved into the database. If the checkbox is not selected the value NULL is submitted. How do I send the value 0 to the database when the checkbox has not been submitted?
Thanks for any help