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="">