ZF-6467: Can't disable Zend_View_Helper_FormCheckbox if checked

Issue Type: Bug Created: 2009-04-29T03:04:18.000+0000 Last Updated: 2009-10-16T08:57:18.000+0000 Status: Resolved Fix version(s): Reporter: Maxence Delannoy (mdelanno) Assignee: michael depetrillo (klassicd) Tags: - Zend_View

Related issues: Attachments:


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.


Posted by michael depetrillo (klassicd) on 2009-10-16T08:57:18.000+0000

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

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.