<p><?= $this->formCheckbox('test-1', 1, array('checked' => 1)); ?> test 1</p>
<p><?= $this->formCheckbox('test-2', 1, array('checked' => 0)); ?> test
2</p>make <p><input type="checkbox" name="test-1" id="test-1" value="1" checked="checked"> test 1</p> <p><input type="checkbox" name="test-2" id="test-2" value="1"> test 2</p> Where is the bug? Kexiao Liao wrote: > > I belive Zend_View_Helper->FormCheckbox.php(in ZF1.5.0) has some bugs, it > can not create the checkbox correctly. The one in ZF1.0.3 works well > -- View this message in context: http://www.nabble.com/formCheckbox-bug-in-ZendFramework-1.5.0RC1-tp15982415s16154p16199879.html Sent from the Zend Framework mailing list archive at Nabble.com.
