Gravity Perks
Gravity Connect
Gravity Shop
Snippet Library
Blog
Account
Gravity Wiz
Gravity Perks
Gravity Perks
A suite of 47+ Gravity Forms addons
Product Details
Pricing
Documentation
Gravity Connect
Gravity Connect
Connect Gravity Forms to top-shelf services
Product Details
Pricing
Documentation
Gravity Shop
Gravity Shop
Bridging Gravity Forms & WooCommerce
Product Details
Pricing
Documentation
Snippet Library
Blog
Account
Log In
Support
Menu
Snippets
Advanced Phone Field
Snippet Library
/
Advanced Phone Field
php
Add country modifier
Adds support for {Phone A:1:phone[country]} modifier which will output the full country name rather than just the ISO 3166-1 alpha-2...
php
Disable Phone Validation
Disable phone number validation provided by Advanced Phone Field.
php
Custom Phone Number Format
Create a custom number format and use this format for the default format saved to the field value. This example...
js
Preserve Input’s Default Padding
By default, the intlTelInput library sets 6px of padding between the flag and the content of the input. Gravity Forms...
php
Set Default Country for a Specific Field
php
Require Australian Mobile Number
php
Validate Number by Country
If you are limiting available countries to Canada, US numbers are still accepted. This snippet will ensure that the country...
php
Validation Only
Use this snippet if you prefer GF's standard Phone field UX but would like to use GPAPF's real phone number...