Smart Phone Field

What does it do?

A simple and nice plugin to get auto country flag from user ip address on gravity form phone field. If the installation is okay, go to gravity forms dashboard. Add a phone field on your form. Open phone field and you will see to enable smart phone field checkbox.

Features

Frontend validation

Smart Phone field verifies the validity of the phone number, activating when the user finishes typing or exits the phone field. It displays a message/icon when validation is triggered. However, it can be modified through the form settings.

Determine by visitor location (GeoIP)

Enabling the GeoIP option will automatically detect the country code based on the visitor’s location. However, it can be modified through the form settings.

Country search

An option is available to add a search input at the top of the dropdown, allowing users to filter the list of displayed countries.

Selectable country codes with flags.

Smart phone field simplifies phone number entry by adding a dropdown with country codes and integrated flags at the start of the field. Users can click the dropdown to select their country.

Dropdown countries

There are three options available: Include all countries, Exclude the following countries, and Only include the following countries.

  • Include all countries: Displays all countries in the dropdown.
  • Exclude the following countries: Provides a field to select multiple countries to exclude from the dropdown.
  • Only include the following countries: Provides a field to select specific countries to display in the dropdown.

Global Settings

Global settings can be accessed in the smartphone field menu under the settings tab. Adjustments made here will apply to all instances of the Smart Phone Field across all forms. However, GeoIP, default country, and frontend validation options can be customized for individual instances within the form settings.

WPForms

Navigate to the WPForms editor panel, where you’ll find the smart phone field under the Standard Fields tab. Click on the smartphone field to access its configuration options. By default, global settings will be applied, but you can customize them by selecting the custom option. This allows you to modify settings such as the default country, GeoIP, and frontend validation.

Contact Form 7

Fluent Forms

Elementor Form