Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/cloudcatch/gravityforms-phone-validation/archive/refs/heads/master.zipOn Packagist as cloudcatch/gravityforms-phone-validation:
composer require cloudcatch/gravityforms-phone-validationNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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.
Releases
1 release.
Tag
Published
1.0.0
latest
Mar 13, 2025 1 year ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.