|
Size: | 8672 |
Storage flags: | no_autoload,compress/gzip (32%) |
The FormReset view helper can be used to render a <input type="reset"> HTML form input.
FormText extends from Zend\Form\View\Helper\FormInput.
Basic usage:
1 2 3 4 5 6 7 | use Zend\Form\Element;
$element = new Element('my-reset');
$element->setAttribute('value', 'Reset');
// Within your view...
echo $this->formReset($element);
|
Output:
1 | <input type="reset" name="my-reset" value="Reset">
|
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.