🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 14, 2026

Gravity Forms Email Verification: Confirm Emails and Phone Numbers with a One-Time Code

GravityExtra
Gravity Forms Email Verification: Confirm Emails and Phone Numbers with a One-Time Code

A sales lead fills in your contact form late on a Friday. On Monday your team calls back and the number belongs to someone else. The email bounces because of a typo in the domain. Meanwhile the entry has already been pushed to your CRM, triggered a welcome sequence and counted as a lead in your reports. Multiply that by every form on your site and you have a slow, expensive data-quality problem.

This guide explains why Gravity Forms on its own cannot confirm that an email address or phone number really belongs to the person filling in the form, what your options are, and how to add Gravity Forms email verification and SMS verification with a one-time code using the Gravity Forms Verification & Account Tools Premium Add-on. You will also see how to give new members a branded activation page when you use the User Registration add-on.

Why a Valid-Looking Email Is Not a Verified Email

The Gravity Forms Email field checks the format of an address: it must have an @ sign and a domain. The Phone field checks the format of a number. Neither can tell you whether the address exists, whether it is spelled correctly, or whether the person typing it can actually read messages sent to it. That gap causes real problems:

  • Typos: gmial.com, hotmial.com and a missing letter in a company domain all pass format checks and silently lose you the lead.
  • Throwaway and fake addresses: visitors who want a download or a quote without giving real details type anything that looks like an email.
  • Someone else’s details: a competitor, a prankster or a bot can sign other people up for your newsletter, your trial or your callback list.
  • Wrong phone numbers: a single swapped digit means your sales team calls a stranger, and SMS reminders go to the wrong person.
  • Downstream damage: by the time anyone notices, the bad entry has already run notifications, feeds and integrations.

A confirmation email sent after submission (“click here to confirm”) helps a little, but the entry is already saved and processed, and many people never click. What you need is verification before the form can be submitted.

Your Options Today

1. Email validation services

Validation APIs check whether a domain accepts mail and whether an address looks deliverable. They catch some typos and disposable domains, but they cannot prove that the visitor owns the address, they never cover phone numbers, and they are usually billed per lookup.

2. Double opt-in in your email marketing tool

Most email platforms can send a confirmation link to new subscribers. That protects your mailing list, but not your form entries, your CRM, your sales follow-up or your phone numbers, and it happens after the form was submitted.

3. CAPTCHA and spam filters

CAPTCHAs and spam filters stop automated submissions. They do nothing about a real person who types a wrong number or someone else’s email address. They solve a different problem.

4. Custom development

A developer can bolt a code check onto a form. The simple version is quick; the parts that make it safe are not: codes that expire, a limited number of tries, limits so nobody can use your form to flood an inbox or run up an SMS bill, making sure a code cannot be reused for a second submission, keeping working on multi-page and AJAX forms, and not storing personal data you do not need.

How One-Time Code Verification Works

The Verification & Account Tools add-on adds a Verification Code field to Gravity Forms. You place it under an Email field or a Phone field. The visitor types the address or number, clicks Send code, receives a short code by email or by text message and types it in. Only then can the form be submitted.

Gravity Forms email verification: a code was sent to the visitor's work email and the button counts down before a new code
The visitor asked for a code; the address is partly hidden in the confirmation message.

Everything that matters happens on your server: the code is created and checked there, it expires after a few minutes, it allows only a few tries, and it works for exactly one submission. If the visitor changes the email address after verifying it, the form asks for a new code.

Step-by-Step: Add Email Verification to a Gravity Forms Form

Step 1: Install the add-on and activate your license

Upload the add-on in Plugins → Add New, activate it, then enter your license key in Forms → Settings → Verification.

Step 2: Add the Verification Code field

Open your form, drag a Verification Code field from Advanced Fields under the Email field, and choose that Email field under Field to verify. Pick a code length (6 digits is a good default) and, if you like, your own button text such as “Email me a code”.

Verification Code field settings in the Gravity Forms editor: field to verify, code length, button text and skip for logged-in users
Choose the Email or Phone field the code is sent to.

Step 3: Write your code email

In Forms → Settings → Verification, adjust the subject and message of the code email. Use {code}, {minutes}, {site_name} and {form_title}. Click Send a test email to me to check how it looks in your inbox.

Step 4: Check the limits

The defaults suit most sites: codes valid for 10 minutes, 5 tries per code, 60 seconds before a new code, 5 codes per address and 20 per visitor connection per hour, and 200 for the whole site per hour. If many of your visitors share one office network, raise the per-connection limit.

Step 5: Publish and test

Open the form on your site, type your own address, click Send code and enter the code. The field shows Verified, and the entry stores “Verified (email)” so your team can see that the address was confirmed.

Add SMS Verification for Phone Numbers

For Phone fields the code is sent by text message from your own Twilio account, so you keep control of the sender and the costs. Enter your Account SID, Auth Token and a sending number or Messaging Service in the Text messages (Twilio) section, set the default country code for numbers typed without one, and send yourself a test message. The site-wide hourly limit protects your SMS bill if someone tries to abuse a form. Developers who prefer another provider can connect it with a filter.

Bonus: A Branded Activation Page for New Members

If you use the Gravity Forms User Registration add-on with email activation, new members click an activation link that opens a plain screen. With this add-on, the link opens a page you design: create a page, add the [gfx_activation] shortcode and write your own messages for “activated”, “already active”, “activation failed” and “no key in the link”. You can greet people by name, show their username, pull answers from the sign-up form with merge tags, log them in automatically and send them straight to your member area.

Branded User Registration activation page with a personal welcome message and a Log in button
Your own activation page, in your site’s design.

Automatic login is deliberately never used for administrators, editors or other accounts with elevated rights; they always log in with their password.

Pro Tips for Verified Forms That Still Convert

  • Verify only where it matters. Use the field on lead, quote, callback, trial and sign-up forms. A simple newsletter box may not need it.
  • Explain why. Add a field description such as “We email you a 6-digit code to confirm the address”. People accept a small step when they know the reason.
  • Skip known members. Tick “Skip for logged-in users” so customers who are already logged in with that address are not asked again.
  • Keep codes short. Six digits balance security and convenience; four digits are fine for low-risk forms with strict limits.
  • Watch your sender reputation. Code emails come from your site. A proper SMTP setup makes sure they arrive quickly and not in spam.
  • Respect privacy. The add-on stores only keyed hashes of addresses, numbers, IPs and codes, and deletes old records after a day, so verification does not create a new store of personal data.

Stop fake and mistyped contact details

Add one-time code verification by email or SMS to any Gravity Forms form, and give new members your own activation page.

Frequently Asked Questions

Does verification work without JavaScript?

Yes. If the browser does not run JavaScript, the first submit sends the code and asks for it, and the second submit checks it.

Can someone reuse a code to submit the form twice?

No. A verification works for exactly one submission. Even two submissions sent at the same moment with the same code result in only one entry.

Can bots use my form to send lots of emails or text messages?

The add-on limits codes per address, per visitor connection and for the whole site every hour, and adds a waiting time between codes. Combine it with your usual spam protection for best results.

Does it work with multi-page and AJAX forms?

Yes, and with conditional logic: a Verification Code field that is hidden by conditional logic is skipped.

What happens if my license expires?

Your forms keep working. The field stops asking for codes and never blocks a submission.

Do I need the User Registration add-on?

Only for the branded activation page. Email and SMS verification work on any Gravity Forms form.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr