Gravity Forms Phone Validation
A simple WordPress plugin to add phone validation to Gravity Forms.
by CloudCatch LLC · github.com/cloudcatch/gravityforms-phone-validation · website
★ 0stars
2composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/cloudcatch/gravityforms-phone-validation/archive/refs/heads/master.zipAlso on Packagist as cloudcatch/gravityforms-phone-validation:
composer require cloudcatch/gravityforms-phone-validationFrom the readme
Gravity Forms Phone Validation #
This plugin uses the libphonenumber for PHP to validate Gravity Forms phone number fields against a given region specified through the plugin settings. This plugin was created to help mitigate form submissions that contain invalid / fake phone numbers.
Installation
You can manually install this plugin by cloning this repository, and installing the requires dependencies:
How to use
- Install and activate the plugin
- Navigate to the Gravity Forms settings page: Forms Settings
- On this main settings page, towards the bottom is a field labeled Phone Validation Region, specify the region in which you want to validate phone numbers against, and save.
Usage
This plugin by default will validate against US based phone numbers unless otherwise specified in the Gravity Forms settings.
Submitting any form containing a Phone field type will now validate the phone number against the region.
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 1.0.0 | Mar 13, 2025 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.