ZF-6467: Can't disable Zend_View_Helper_FormCheckbox if checked


If you disable a checkbox which is checked, a value of 0 will be submitted because of the hidden input that precedes the checkbox input. If the field is disabled, no value should be send in the post. The hidden must be removed or disabled with the checkbox.


if disable attrib is true then hidden form field is not printed.