This add-on provides an enhanced telephone field specifically designed for international phone numbers. It allows users to input and validate phone numbers in the correct format for their country or region, improving the user experience and data accuracy in your WordPress forms.
Installation
Upload the add-to-any directory to the /wp-content/plugins/ directory.
Ensure you installed and activated the plugin.
Telephone Settings
How to add phone field?
Any options that take country codes should be ISO 3166-1 alpha-2 codes : link: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Add new or edit the form and choose the type Telephone.
How to set preferred countries list?
Specify the countries to appear at the top of the list.
E.g: We want The USA, the United Kingdom of Great Britain appears first:us|gb
How to set only the selected countries list?
In the dropdown, display only the countries you specify.
E.g: We want to only display three countries The USA, the United Kingdom of Great Britain, Northern Ireland, Bulgaria: us|gb|bg
Or you can input the countries code in the Exclude to hide them in the dropdown.
How to set default countries?
Typing the countries code to the box “Default”.
E.g: us
That’s it! We hope this article helped you find how to add Telephone to your Elementor Forms.