跳到内容

Flagged Phone Field

v1.1.0

BrainFleck Solutions · 2025年3月1日 上架

Add country flags and dial codes to phone number fields in your WordPress forms for better user experience.

正在使用
10 以下
评分
暂无
累计下载
1,101
最近更新
2026年7月3日
需要 WordPress 6.3+已测试到 7.0.9PHP 7.4+

截图

Countries select settings
Countries select settings
Php ini Config Details
Php ini Config Details
Discover more by visiting BrainFleck Solutions
Discover more by visiting BrainFleck Solutions
Front-end Form preview
Front-end Form preview

The Flagged Phone Field plugin is a powerful tool designed for WordPress, offering advanced customization for phone number fields. With this plugin, you can control default country settings, exclude specific countries from the dropdown, highlight preferred countries, and even enable auto-selection of the user’s country. It seamlessly integrates with forms and ensures a user-friendly experience.

Features

  • Default Country Selection: Set a default country that remains selected even when the page is refreshed.
  • Exclude Countries: Remove unwanted countries from the dropdown list by adding them to the exclude list.
  • Preferred Countries Highlighting: Highlight selected countries at the top of the dropdown list for quicker access.
  • Auto Country Selection: Automatically detect and select the user’s country. If disabled, the default country will be used.
  • Enable/Disable International Dial Codes: Show or hide the international dial code based on your preference.
  • Seamless Integration: Works smoothly with your WordPress forms, ensuring a consistent and professional user experience.
  • Customizable Settings: The intuitive settings panel allows you to configure the plugin without requiring technical expertise.

Usage

Before adding the flagged phone field to your forms, you can configure its default behavior in the global settings:

Global Settings

  1. Navigate to Flagged Phone Field in the WordPress sidebar menu.
  2. Configure the options:
    • Default Country: Choose which country is pre-selected when the page loads.
    • Exclude Countries: Select countries to hide from the country dropdown.
    • Preferred Countries: Pin specific countries to the top of the dropdown list.
    • Auto Country Select: Automatically detect the user’s country flag and dial code based on their IP address.
    • Disable International Dial Code: Toggle whether to show/hide the international dial code.
  3. Save your settings. These options will be applied globally across all form plugins.

Here is how to add and use the flagged phone field in each supported form builder:

Contact Form 7

  1. Navigate to Contact > Contact Forms and edit your form.
  2. Click the Flagged Phone Field button in the form-tag generator toolbar.
  3. Configure the field options (like Name, Default Value, Class) and click Insert Tag.
  4. Or manually insert the tag in your form template:
    • [smart_mobile your-phone] (for optional field)
    • [smart_mobile* your-phone] (for required field)
  5. Save the form and embed the generated shortcode on your website.

Fluent Forms

  1. Navigate to Fluent Forms > All Forms and open your form in the builder.
  2. In the right-hand panel under General Fields (or search for it), locate the Flagged Phone Field.
  3. Drag and drop the Flagged Phone Field into your form layout.
  4. Click on the field to customize options (Label, Placeholder, Required status, etc.) in the Element Info panel.
  5. Save the form and embed it using the Fluent Forms block or shortcode.

Gravity Forms

  1. Navigate to Forms > Forms and edit/create your form.
  2. Expand the Advanced Fields toolbox in the right-hand sidebar.
  3. Click or drag the Flagged Phone Field to place it on the form canvas.
  4. Configure field properties (Field Label, Rules, Placeholder, etc.) in the Field Settings.
  5. Save the form and embed it on your page using the Gravity Forms block or shortcode.

Recommended Plugins

The following plugins are recommended for use with the Flagged Phone Field plugin:

  • Gravity Forms
  • Contact Form 7
  • Fluent Forms

More form integrations are coming soon!

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums