Gravity Forms – OTP Verification allows you to add One-Time Password (OTP) verification to Gravity Forms, ensuring that users enter a valid mobile number or email address before submitting a form. It helps prevent spam, fake submissions, and ensures real user authentication. Key Features: 🔒 Secure
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityCheck requirements for your WordPress setup before installing.
SourceWordPress plugins · Nov 28, 2026
01 / Source details
Aboutthistool.
Gravity Forms – OTP Verification allows you to add One-Time Password (OTP) verification to Gravity Forms, ensuring that users enter a valid mobile number or email address before submitting a form. It helps prevent spam, fake submissions, and ensures real user authentication.
Key Features:
🔒 Secure Mobile Verification – Ensures users verify their phone numbers before submitting.
✅ Seamless Gravity Forms Integration – Works with all versions of Gravity Forms without conflicts.
🌎 Supports Persian, Arabic & English Numbers – Converts and validates all number formats.
📡 Flexible SMS Gateway Support – Connects to multiple SMS providers via built-in integrations or custom hooks.
⚙️ Easy Setup – Configure in just a few clicks with user-friendly settings.
Features
Add an Mobile OTP field to any Gravity Form .
Prevent form submission until mobile verification is successful .
Support for multiple SMS gateways including custom integrations.
Fully compatible with Gravity Forms’ conditional logic .
Users can resend OTP with a cooldown limit (e.g., 3 attempts, 90 seconds each ).
Supports hooks & filters to extend functionality.
Works across all WordPress and WooCommerce sites .
Supported SMS Gateways
The plugin supports direct integration with popular SMS gateways as well as widely-used SMS plugins. You can send OTP messages using your preferred SMS provider or through supported SMS plugins for maximum flexibility.
The plugin uses the default WordPress email sending function ( wp_mail ). This means you are free to use any email service you want—whether it’s your web host’s built-in mail, your WordPress site’s configured SMTP settings, or a third-party SMTP plugin. Just configure your preferred email service, and OTP emails will be sent using that method.
You can also fully customize the OTP email: set a custom sender name, sender address, subject, and modify the email template as HTML directly from the plugin settings.
Additionally, you can add any other SMS gateway via WordPress hooks and filters .
How to Setup the Plugin
01Install & Activate the plugin.
02Go to Gravity Forms and create a form.
03Add the OTP Field from the field settings.
04Configure your SMS Gateway in plugin settings.
05Save your form , and OTP verification will be active.
Third-Party & External Resources Used
This plugin utilizes the following third-party libraries to enhance functionality:
Tippy.js
Select2.js
Datatables
jQuery Confirm
jQuery Repeater
Font Awesome v.7 (Used only for icons in the settings panel)
Disclaimer and Warranty
This plugin is provided “as is” without any warranties, express or implied. While every effort has been made to ensure reliability and security, the developers are not responsible for any issues arising from its use. Always test in a staging environment before deploying to production.
Contribution and Support
We welcome contributions to improve the plugin! If you have feature requests, bug reports, or suggestions, please create a GitHub issue or pull request.
For support, contact us at support (at) pigment (dot) dev .
See it in action
Screenshots & previews.
Gravity Form > newly added OTP FieldGravity Form > OTP Field SettingsSample OTP Email preview in GmailSample Form with Mobile OTP FieldMobile OTP Field (Waiting for User to enter code)Settings > GeneralSettings > Mobile > Sample Gateway SettingSettings > Mobile > WP-SMS Gateway SettingSettings > Email SettingSettings > Translation PanelSettings > String Replace PanelSent OTPs Log
02 / Source details
Gettingstarted.
01Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
02Activate the plugin through the Plugins screen in WordPress.
03Go to Gravity Forms > Your Form > Add OTP Field .
04Configure your SMS Gateway in the plugin settings.
05Save your form, and you’re good to go!
03 / Source details
Frequently asked questions.
How does OTP Verification work?
Once a user enters their mobile number or email address, they receive an OTP Code . They must enter the correct OTP before submitting the form.
Can I use my own SMS provider?
Yes! The plugin supports multiple SMS gateways , and you can add your own via hooks.
Does this plugin support Persian & Arabic numbers?
Yes! The plugin automatically converts Persian and Arabic numerals to English before validation.
Does it work with all Gravity Forms versions?
Yes! It is tested and compatible with all recent Gravity Forms versions .
How can I contribute to this plugin?
You can help us improve our works by committing your changes to pigment-dev/gravity-otp-verification
How can I report security bugs?
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. Report a security vulnerability.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati