country-code-drop-down-for-cf7

plugin banner

Contact Form 7 addon to create a new type of input for entering country code…

Author:MageINIC (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.1.1
Plugin version:1.0.4
Added to WordPress repository:28-12-2022
Last updated:10-01-2023
Rating, %:0
Rated by:0
Plugin URI:#
Total downloads:1 176
Active installs:100+
plugin download
Click to start download

Contact Form 7 addon to create a new type of input for entering country code with flag. It adds a country code with flag dropdown, auto detects the user’s country.

How to use

Once you have installed and activated your plugin, a new type of input field will be available in your Contact Form 7 forms. In order to add it to your form, you can either click on the “Tel with country code” button above your form editor, or add the shortcode like: [country_code* {your-phone}]. Replace {your-phone} by the name do you want to give the field. Optionally, you can use the asterisk (*) to makes the field required.

To display the field’s info on your email, use this tag: [{your-phone}]. It will display something like +12025550109

Third-party software

In this plugin we uses the International Telephone Input JavaScript library and the eXTReMe-IP-LOOKUP.com API.


Screenshots
ChangeLog