ZF-3029: Can not avoid Form Decorator from inheriting Zend_Form attributes. Result is invalid html


i.e. Fieldset tag should not have method, action or enctype attributes. Don't you think?

$this->setAction('foo'); $this->setMethod(Zend_Form::METHOD_POST); $this->setAttrib('enctype', 'multipart/form-data');

$this->addDecorator(new Zend_Form_Decorator_Fieldset(array('id' => 'city_form')));

generated html code:


fieldset id="city_form" action="foo" method="post" enctype="multipart/form-data">

City object Info


form enctype="multipart/form-data" action="foo" method="post">


This is a duplicate issue; please see ZF-2981.

Bookkeeping. Assigning all resolved issues to the people who resolved them. The only unassigned issues should be those that are new and unreviewed.