elements/tel.php
Go to the documentation of this file.
1 <?php
10 namespace depage\htmlform\elements;
11 
37 class tel extends text
38 {
48  protected function setDefaults()
49  {
50  parent::setDefaults();
51 
52  $this->defaults['errorMessage'] = _('Please enter a valid telephone number');
53  }
54 }
55 
56 /* vim:set ft=php sw=4 sts=4 fdm=marker et : */
HTML tel input type.
HTML text input type.
Definition: text.php:38
setDefaults()
collects initial values across subclasses