Flagged Phone Field

Description

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!

Screenshots

FAQ

How can I set a default country for the phone field?

Navigate to the plugin settings, and select the desired default country in the “Default Country” field. This country will remain selected even after page refreshes.

Can I exclude certain countries from the dropdown list?

Yes, you can exclude specific countries by adding them to the “Exclude Countries” field in the settings.

What happens if I enable the “Auto Country Select” option?

If this option is enabled, the plugin will automatically detect and select the user’s country. If disabled, the default country you set will be used.

How do I highlight certain countries in the dropdown?

You can add countries to the “Preferred Countries” field. These countries will appear at the top of the dropdown list.

Can I hide the international dial code in the phone field?

Yes, you can disable the international dial code by selecting “No” in the “Disable International Dial Code” option.

Is this plugin compatible with all WordPress themes?

Yes, the plugin is designed to work seamlessly with most WordPress themes and form plugins.

Is there any support available if I encounter issues?

Yes! If you encounter any issues or have questions about the plugin, please feel free to contact our support team through our website, BrainFleck Solutions. We’re here to help!

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Flagged Phone Field” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Flagged Phone Field” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.0

  • Added Contact Form 7 support
  • Added Fluent Forms support
  • Improved Gravity Forms compatibility