sandywp / plugins / country-phone-field-contact-form-7

Country & Phone Field Contact Form 7

4.5 out of 5 stars. 4.5 41 reviews

Add country drop down with flags and phone number with country phone extension fields in contact form 7.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v2.6.5 40,000+ installs WP 6.0+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
Country & Phone Field Contact Form 7 running inside a SandyWP sandbox

What you get inside

7 screens
  • screenshot-1.png

  • screenshot-2.png

  • screenshot-3.png

  • screenshot-4.png

  • screenshot-5.png

  • screenshot-6.png

About this plugin

Country & Phone Field Contact Form 7 plugin is an add-on for Contact Form 7 plugin. This plugin add two new form tag fields that is Country list (form-tag: country drop-down) and Country Phone extensions list (form-tag: phone number) in Contact form 7.

Country & Phone Field Contact Form 7 helps you in creating a country drop-down list with country flags. The tag field will automatically add countries name in standard drop-down field of contact form 7.

How to add the fields in the contact form 7
1.) Once you have installed activated the Country & Phone Field Contact Form 7 plugin.
2.) Add the form-tag “country drop-down” and “phone number” to your form and save the changes.

Requirments:
* Contact form 7 must be active plugin.

Recommended Plugins

The following plugin is recommended for Country & Phone Field Contact Form 7 users:
* Contact form 7 by takayukister – With Conact form 7, you can use this plugin. Without contact form 7 this plugin have no needs.

Questions

How to set default selected country?

Add default country iso code from settings section. Contact >> CPF Settings

How to set preferred countries list?

Add preferred countries iso code from settings section. Contact >> CPF Settings. Example: us,in,ca,gb

How to set only selected or exclude countries list?

Add only selected countries iso code from settings section. Contact >> CPF Settings. Example: us,in,ca,gb

How disable country dial code (+)?

Enable option for dial code disable form plugin settings. Contact >> CPF Settings.

How to apply number only validation on phone field?

While adding the field, enable number only validation checkbox. If you already added the field. Just add “numberonly” option in field shortcode. e.g [phonetext phonetext-178 numberonly]

How maxlength and minlength validation apply on phone field?

Please use contact form 7 standard featured minlength and maxlength option. It will work for you.

4.5

41 reviews

  • 5 ★ 34
  • 4 ★ 2
  • 3 ★ 1
  • 2 ★ 0
  • 1 ★ 4

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.