Posting Defaults for Checkboxes

I was playing around with Zend_Form a little while ago and I realized they did something neat with checkboxes. Everytime I created a checkbox, Zend made two. <input id=”optInDefault” name=”optIn” type=”hidden” value=”n” /> <input id=”optIn” name=”optIn” type=”checkbox” value=”y” /> One hidden, and one not.  This is handy because when the user doesn’t check it – […]