Country & Phone Field Contact Form 7

설명

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.

스크린샷

  • screenshot-1.png
  • screenshot-2.png
  • screenshot-3.png
  • screenshot-4.png
  • screenshot-5.png
  • screenshot-6.png

설치

  1. Upload the entire country-phone-field-contact-form-7 folder to the /wp-content/plugins/ directory.
  2. Kindly make sure ‘contact form 7’ plugin active before activate this plugin.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Setup default country, include, preferred and exclude countries settings from contact >> CPF settings.

You will find two new fields type in your contact form 7 field list.

FAQ

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.

후기

2022년 2월 4일
ISD code of phone is not sent to email. What is the use of only putting it as show piece on front end when I cannot get the input data in my email. Developer is evading several threads of same question.
2021년 1월 13일
Please fix the dismiss button on your admin notice ASAP! This is most likely going to hurt your sales efforts and scares potential buyers away as it leaves a very spamy impression on users of your plugin. Curiosity catches the cat, not blunt force. Apart from that, hopefully temporary issue this plugin is a great addition to CF7. SUPPORT TO EVERYONE WHO FEELS THE SAME AS ME: To remove the admin notice, go to "Plugin Editor", select the "Country & Phone Field Contact Form 7" Plug-in in the dropdown menu at the top right, click select, wait for the plugin editor to load the plugin file list. Open the "includes" drop down, select the file "include-js-css.php". In the editor field scroll all the way to the end, to line 175 and remove the "add_action('admin_notice','nb_cpf_seobuddy_notice')" command. DON'T EDIT ANY OTHER SOURCE CODE! Click "Update File" This should remove the admin notice!
2021년 1월 15일
Even though this issue has been raised in the support forum it hasn't been addressed. There is an advert to SEO Checklist which can't be dismissed, it's on all admin pages, which I am pretty sure is against the rules of plugins being in the repository. It's bad enough having the advert, I could live with it if it could be dismissed, but it's a broken implementation, and the lack of asknowldgement in the support forum is pretty bad. EDIT: The plugin has been updated and the advert has been removed
2020년 7월 26일
I fulfill my requirements, very nice plugin
모든 28 평가 읽기

기여자 & 개발자

“Country & Phone Field Contact Form 7”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Country & Phone Field Contact Form 7”(이)가 6(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Country & Phone Field Contact Form 7”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.0
*First version of plugin.

1.0.1
* Update FAQs
* Tested with wordpress 5.0

2.0.0
* Add phone and country dropdown settings.
* Made countries include, exclude and preferred list dynamic and admin managable.
* Resolve support issues.

2.0.1
* Add geo location functionality for default country select.
2.0.2
* fix settings fatal error.
2.0.3
* Add plugin profile icon
2.0.4
* fixed php warning message for file_get_contents() call geo_ip location.
2.0.5
* add option for disable country dial code from phone extension drop-down.
* add option for enable auto country select.
* tested required attribute. It is working fine.
* placeholder option tested and it is working fine.
2.0.6
* fixed and warning message error.
2.0.7
* added new faq.
2.0.8
* Added phone number field number values validation.
2.0.9
* Bug fix phone number field number values validation.
2.1.0
* fix countries code issues. Convert to lowercase.
2.1.1
* fixed phone number validation bug.
2.1.2
* fixed IP Address issue. It was PHP based. Now I convert to JavaScript based. So client end IP tracking is working fine.
2.1.3
* plugin is translate ready now.
* phone number validation has updated. Now user can manage number only validation from field settings.
2.1.4
* settings page php warning message has fixed.
2.1.5
* auto hide the country drop-down after click outside the drop-down container.
* remove drop-down default listing style and css updated.
2.1.6
* update plugin documentation/description
* update plugin css fixes
* update plugin screenshots.
2.2.0
* update plugin code and made more secure.
* removed unwanted code.
2.2.1
* update plugin input sanitization callback
* make sure all input values should be well sanitized.
2.2.2
* wp_enqueue_script javascript move to footer.
2.2.3
* Tested upto WordPress 5.5.1
2.2.4
* Tested upto WordPress 5.6
2.2.5
* Added a wordpress notice box for affiliation.
2.2.6
* Added a wordpress notice box image missing issue fixed.
2.2.7
* Remove affiliation notice box.
2.2.8
* Tested with new wordpress version and contact form 7 plugin.
2.2.9
* Adding a hidden filed capture country code for phone field. It helps in custom validation.