Checkbox values are not saving to database

deedav 28 Jun, 2012
Hi,

I have a form with three checkbox with different name.Values from textboxes and hidden fields are saving to database correctly.But checkbox values are not.
 <td heigh="20px;" bgcolor="#f5f5f5"><b>Data Collection: </b></td></tr><tr><td height="25px;" valign="middle">
<input title="" id="class1" name="class1" type="checkbox" value="yes" /> Class1
  <input title="" id="class2" name="class2" type="checkbox" value="yes" /> Class2 
   <input title="" id="class3" name="class3" type="checkbox" value="yes" /> Class3</br>
</td>

Please do the needful

Thanks
GreyHead 30 Jun, 2012
Hi deedav,

The values of all the checkboxes is 'yes' so I'd expect 'yes' to be saved in the database table when the box is checked. What is actually happening?

Bob
This topic is locked and no more replies can be posted.