Flagged Phone Field
·
Add country flags and dial codes to phone number fields in your WordPress forms for better user experience.
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
- Navigate to Flagged Phone Field in the WordPress sidebar menu.
- 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.
- 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
- Navigate to Contact > Contact Forms and edit your form.
- Click the Flagged Phone Field button in the form-tag generator toolbar.
- Configure the field options (like Name, Default Value, Class) and click Insert Tag.
- Or manually insert the tag in your form template:
[smart_mobile your-phone](for optional field)[smart_mobile* your-phone](for required field)
- Save the form and embed the generated shortcode on your website.
Fluent Forms
- Navigate to Fluent Forms > All Forms and open your form in the builder.
- In the right-hand panel under General Fields (or search for it), locate the Flagged Phone Field.
- Drag and drop the Flagged Phone Field into your form layout.
- Click on the field to customize options (Label, Placeholder, Required status, etc.) in the Element Info panel.
- Save the form and embed it using the Fluent Forms block or shortcode.
Gravity Forms
- Navigate to Forms > Forms and edit/create your form.
- Expand the Advanced Fields toolbox in the right-hand sidebar.
- Click or drag the Flagged Phone Field to place it on the form canvas.
- Configure field properties (Field Label, Rules, Placeholder, etc.) in the Field Settings.
- 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!
