Issues

ZF-7792: Zend_Form_Decorator_Fieldset renders onsubmit attribute

Issue Type: Bug Created: 2009-09-07T12:29:02.000+0000 Last Updated: 2011-08-29T09:33:39.000+0000 Status: Open Fix version(s): Reporter: Michal Vrchota (techi) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: - ZF-8822

Attachments:

Description

Zend_Form_Decorator_Fieldset should ignore onsubmit and onreset attributes of mother Zend_Form instance

Comments

Posted by Menno Holtkamp (holtkamp) on 2011-08-29T09:33:39.000+0000

By adding the 'onsubmit' to the 'to-be-stripped attributes of the fieldset decorator, this can be avoided:

//In the form, add the following before rendering if($fieldSetDecorator = $this->getDecorator('Fieldset')){ $fieldSetDecorator->stripAttribs[] = 'onsubmit'; }

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts