Checkbox Values

2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 5, 2014   (RSS)

By gregThomas - November 5, 2014

Hi Zaba,

The default labels for a check box field are yes and no, but the values stored in the CMS will always be 1 or 0. So with your example the correct layout would be:

<input name="DirectMail" type="checkbox" value="1"> Yes

Let me know if you have any questions.

Thanks,

Greg

Greg Thomas







PHP Programmer - interactivetools.com