[tel] – Tel

[tel name="your_tel"]

Commonly used with a pattern to force a phone format.
NOTE: "tel" is from "Telephone", the good-old days....

Attributes:

AttributeExamplesDescription
name*name="unique_field_name"The field name. Needs to be unique in the form.
Required.
valuevalue="555-555-5555"
value="999999999"
value="{user.meta.phone}"
value="{field.tel_123}"
The initial field value.
Optional.
placeholdervalue="Insert phone here."Text displayed when the field has no value.
Optional.
minmin="10"Minimum characters length allowed.
Optional.

NOTE: Shortcut of minlength attribute.
maxmax="100"Maximum characters length allowed.
Optional.

NOTE: Shortcut of maxlength attribute.
patternpattern="Regular expression"
pattern="[0-9]{3}-[0-9]{3}-[0-9]{3}"
pattern="[0-9]{9}"
A regular expression the field value should match.
Optional.

This field also supports common HTML attributes, as well as label & description attributes.