View Helpers
In This Article
FormTel
The FormTel
view helper can be used to render an <input type="tel">
HTML5
form input.
Basic usage
use Zend\Form\Element;
$element = new Element('my-tel');
// Within your view...
echo $this->formTel($element);
Output:
<input type="tel" name="my-tel" value="">
Found a mistake or want to contribute to the documentation? Edit this page on GitHub!