Pricing
Docs
Support
Blog
Snippet Library
Account
Gravity Wiz
Pricing
Docs
Support
Blog
Snippet Library
Account
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...