Gravity Forms international phone input

Free Download Gravity Forms international phone input

The plugin can be used to easily enter phone numbers in international format with country flags.Includes options to automatically set country (using client IP) and phone number verification. To start the plugin working – you need to activate it and enable “Friendly int.”Phone Field” in the “Phone” field. It’s really simple.

Also check the WP WooCommerce version of the plugin here:Link

Features:

  • new! Ability to prevent form submission without correct phone number
  • Convenient usability via admin panel
  • Work with any WordPress theme
  • Cross-browser compatibility
  • No coding required

Available filters:

  • gfip_prevent_wrong_phone_submit- Prevent form submission without correct phone number
  • gfip_success_message- Custom “Phone Correct” frontend message
  • gfip_fail_message- Custom “Incorrect Phone” frontend message
  • gfi_show_only_countries- Accepts an array of country codes to display in the list
  • gfi_initial_country- The initial country code, if not set it will get the user country from the IP address
  • gfi_preferred_countries- A range of preferred countries

Examples of available filters:

add_filter('gfip_prevent_wrong_phone_submit', function ($enabled) {
    $enabled = true;
    return $enabled;
}, 10, 1);

 add_filter( 'gfip_success_message', function ($message) {
    $message = 'Correct!';
    return $message;
 }, 10, 1 );

 add_filter( 'gfip_fail_message', function ($message) {
    $message = 'Incorrect :(';
    return $message;
 }, 10, 1 );

add_filter('gfi_show_only_countries', function(){
    return ['ua', 'us', 'gb'];
});

add_filter('gfi_initial_country', function(){
    return 'ua';
});

add_filter('gfi_preferred_countries', function(){
    return ['ua', 'gb'];
});
v 1.2.1 - 09/07/2021
- Changed way of phone validation
(from now phone number will be validated on keyup event instead of blur event)

v 1.2.1 - 24/09/2020
- Localization implemented
- Ability to prevent form submit without correct phone number[s]

v 1.2 - 22/03/2020
- Filters added

v 1.1.1 - 02/11/2019
- Bug fix

v 1.1 - 12/08/2019
- Multiple forms on single page support

v 1.0 - 07/07/2019
- First stable release

Gravity Forms international phone input [Free Download]
Gravity Forms international phone input [Nulled]

WordPress ยป Add-ons

Similar Posts