Integrations
Contact Form 7
The [phone] tag
[phone* your-phone]
[phone your-phone country:ae preferred:ae|sa|pk]
[phone* mobile-number country:pk only:pk mobile placeholder "0300 1234567"]
| Option | |
|---|---|
phone* |
Required |
country:ae |
Country the field starts on, and the country for numbers typed without a code |
preferred:ae|sa|pk |
Countries at the top of the list |
only:ae|sa |
Only these countries, in the list and on the server |
mobile |
Mobile numbers only |
placeholder "…" |
Placeholder text |
id:…, class:… |
As with any Contact Form 7 tag |
Put [your-phone] in the mail template. It receives the formatted number, e.g. +92 300 1234567, not
whatever was typed.
Validation messages
Messages appear under the field, in Contact Form 7's usual place. They name the problem: too short, too
long, not a mobile number, or not one of the allowed countries. To change the wording, use the
devix_phone_field_message filter (see Developers).
Your existing [tel] fields
Turn on Settings → Phone Field → Contact Form 7's own [tel] tags too to enhance and validate every
[tel] field without editing forms. For per-field options, switch those tags to [phone].
Updated 12 Sep 2026