On this page
View Helpers
FormSubmit
The FormSubmit
view helper can be used to render an <input type="submit">
HTML form input. It is meant to work with the Submit element.
Basic usage
use Laminas\Form\Element;
$element = new Element\Submit('my-submit');
// Within your view...
echo $this->formSubmit($element);
Output:
<input type="submit" name="my-submit" value="">