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

Issue Type: Bug Created: 2008-04-02T19:15:00.000+0000 Last Updated: 2008-12-17T12:54:11.000+0000 Status: Resolved Fix version(s): Reporter: Michal Vrchota (techi) Assignee: Wil Sinclair (wil) Tags: - Zend_Form

Related issues: - ZF-2981



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">


Posted by Matthew Weier O'Phinney (matthew) on 2008-04-02T20:00:07.000+0000

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

Posted by Wil Sinclair (wil) on 2008-12-17T12:54:11.000+0000

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

Have you found an issue?

See the Overview section for more details.


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

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