ZF-4984: Cant set a label to Zend_Dojo_Form_Element_SubmitButton

Issue Type: Bug Created: 2008-11-18T16:38:18.000+0000 Last Updated: 2008-11-18T17:17:23.000+0000 Status: Resolved Fix version(s): Reporter: Brandon Evans (paradigmapc) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Dojo

Related issues: - ZF-4977



I can't seem to set a label within a Zend_Dojo_Form_Element_SubmitButton object in ZF 1.7.0. If I use the same code with 1.6.0 everything works. Also tested this with Mathew Weier O'Phinney pastebin project. Labels show up null.

Methods tried:

$submit = new Zend_Dojo_Form_Element_SubmitButton('submit'); $submit->setLabel("Submit!") ->setRequired(false) ->setIgnore(true);

$this->addElement('SubmitButton', 'submit', array( 'required' => false, 'ignore' => true, 'label' => 'Submit!', ));


Posted by Matthew Weier O'Phinney (matthew) on 2008-11-18T17:17:22.000+0000

This is fixed in trunk and the 1.7 release branch, and will be released with 1.7.1.

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.