|
Size: | 8479 |
Storage flags: | no_autoload,compress/gzip (32%) |
Zend\Form\Element\Submit represents a submit button form input. It can be used with the Zend\Form\View\Helper\FormSubmit view helper.
Zend\Form\Element\Submit extends from Zend\Form\Element.
Basic Usage
This element automatically adds a "type" attribute of value "submit".
1 2 3 4 5 6 7 8 | use Zend\Form\Element;
use Zend\Form\Form;
$submit = new Element\Submit('my-submit');
$submit->setValue('Submit Form');
$form = new Form('my-form');
$form->add($submit);
|
The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.