On this page
View Helpers
FormReset
The FormReset
view helper can be used to render an <input type="reset">
HTML
form input.
Basic usage
use Laminas\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">