Linux 软件免费装
Banner图

DigitalMakers Phone Mask with Flags for Contact Form 7

开发者 digitalmakers
更新时间 2026年6月27日 23:14
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

form flags phone field phone mask input validation

下载

1.0.5

详情介绍:

DigitalMakers Phone Mask with Flags for Contact Form 7 adds a phone field to Contact Form 7. You pick a country in the form settings, and the field gets the right mask, placeholder, and validation pattern. What you get: How it works:
  1. Install and activate the plugin.
  2. Open a Contact Form 7 form.
  3. Click the "Phone" button in the tag generator to insert a phone field.
  4. Open the "Phone Settings" tab, pick a country, set options.
  5. Don't forget to fill in the "Message for incomplete phone number" and "Confirmation hint when phone number is complete" fields in the "Messages" tab.
  6. Save.
Supported countries: 130+ countries — United States, United Kingdom, Germany, France, Spain, Italy, Ukraine, Poland, Japan, Australia, Brazil, India, Canada and others. Premium version: If you need country switching on the frontend, dropdown search and extra themes, see CF7 Phone Mask DM Premium.

安装:

  1. Upload the digitalmakers-phone-mask-with-flags-for-contact-form-7 folder to /wp-content/plugins/ or install via the WordPress plugin installer.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Make sure Contact Form 7 is installed and active.
  4. Edit a CF7 form and click the "Phone" button in the tag generator toolbar to insert a phone field.
  5. Go to the "Phone Settings" tab in the form editor to select a country and configure display options.
  6. Save the form and add it to a page.

屏幕截图:

  • Phone field on the frontend with country flag and mask with phone Validation messages — complete states.
  • Phone Settings tab in the CF7 form editor.
  • CF7 form builder with Phone field with it.
  • Setting page with default settings for future forms.
  • Setting page with Uninstall settings.

升级注意事项:

1.0.5 Fixes a bug where new forms could inherit settings from an empty-id option. Plus admin code cleanup. 1.0.3 Country search in admin now matches name and dialing code, and works on the Default Country selector too. 1.0.2 Security and performance fixes.

常见问题:

Does this plugin require Contact Form 7?

Yes. CF7 must be installed and active. If it isn't, the plugin shows a notice.

Can I use a different country for each form?

Yes. Country is picked per form in the Phone Settings tab.

Can I customize the validation messages?

Yes. Open the "Messages" tab in the form editor — there are two fields: "Message for incomplete phone number" and "Confirmation hint when phone number is complete". They are saved per form.

Does the plugin load external resources?

No. JS and other assets are bundled with the plugin, no CDN calls.

Is the plugin compatible with page builders?

It works anywhere CF7 shortcodes work — Elementor, Divi, WPBakery and so on.

Can I hide the country flag?

Yes. Uncheck "Show country flag" in the Phone Settings tab.

What's the difference between "Use theme styles" and plugin styles?

Both modes work the same. "Use theme styles" leaves the field almost unstyled so your theme controls the look. With it off, the plugin adds its own borders, shadow and focus styles.

更新日志:

1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0