OTP Verification for Gravity Forms

Description

OTP Verification for Gravity Forms allows you to add One-Time Password (OTP) verification to Gravity Forms, ensuring that users enter a valid mobile number 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 the following SMS providers:

  • SMS.ir
  • FarazSMS
  • IPPanel

Additionally, you can add any other SMS gateway via WordPress hooks and filters.

How to Setup the Plugin

  1. Install & Activate the plugin.
  2. Go to Gravity Forms and create a form.
  3. Add the OTP Field from the field settings.
  4. Configure your SMS Gateway in plugin settings.
  5. Save your form, and OTP verification will be active.

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.

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 (Used only for icons in the settings panel)

Credits

OTP Verification for Gravity Forms is developed and maintained by BlackSwanDev, in collaboration with Pigment Development. Together, we focus on creating powerful WordPress tools for security and automation.

Developed at: BlackSwanDev & Pigment.Dev

Lead Developer: AmirhpCom

Installation

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Gravity Forms > Your Form > Add OTP Field.
  4. Configure your SMS Gateway in the plugin settings.
  5. Save your form, and you’re good to go!

FAQ

How does OTP Verification work?

Once a user enters their mobile number, they receive an OTP via SMS. 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

Reviews

There are no reviews for this plugin.

Contributors & Developers

“OTP Verification for Gravity Forms” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

For full changelog please view Github Repository.

v2.6.0 | 2025-04-30 | 1404-02-10

  • Update WordPress version
  • Fix GF-Panel not Loaded

v2.5.0 | 2025-04-02 | 1404-01-13

  • General fixes and Enhancement

v2.4.0 | 2025-03-31 | 1404-01-11

  • General fixes and Enhancement

v2.3.0 | 2025-03-20 | 1403-12-30

  • Initial release of the plugin for w.org