FormReset

The FormReset view helper can be used to render an <input type="reset"> HTML form input.

Basic usage

use Zend\Form\Element;

$element = new Element('my-reset');
$element->setAttribute('value', 'Reset');

// Within your view...
echo $this->formReset($element);

Output:

<input type="reset" name="my-reset" value="Reset">