Get access to free tutorials, exclusive content and more.

Verify an Email Address with a Confirm Field in WordPress

Are you frustrated with entering incorrect email addresses, mistyping passwords, or inputting wrong phone numbers on your completed form submissions? These setbacks not only undermine the integrity of your data, but also leave you with unusable information for your business needs.

Luckily, a Confirm field acts as a safeguard against these common errors and minimizes the risk of receiving incomplete or inaccurate data.

In this tutorial, we’ll walk through everything you need to know about a Confirm field in WordPress, including how to verify an email address with it. We’ll also introduce three email verification plugins if you need an extra layer of verification outside of a Confirm field. Let’s dig in!

Table of contents

  1. What is a Confirm field?
  2. How to add a Confirm field to your WordPress form
  3. Verify an email address with the Confirm field
  4. Email verification plugins compatible with Ninja Forms

1. What is a Confirm field?

The Confirm field in a WordPress form serves to verify that the user’s input in one field matches another. This feature enhances the security of form submissions by prompting website visitors to re-enter information, thereby ensuring a more reliable and user-friendly submission process. When the form loads on the front end, the Confirm field looks like this:

confirm email address

The Confirm field from Ninja Forms can be combined with any other field on your form to verify the input. If the Confirm field does not match the designated target field, the form will not submit.

This can confirm the entry of an email address (Email field), password (Single Line Text field), phone number (Phone Field), and other fields that need validation. Now let’s look at how to add a Confirm field in WordPress.

2. How to add a Confirm field to your WordPress form

To add a Confirm field to your WordPress form, click on the blue circle button within your form builder to open the list of existing Ninja Forms fields. The Confirm field is located under the Miscellaneous fields.

confirm field in wordpress

There are two options available. You can either drag and drop the Confirm field directly onto your form, or click on the Confirm fieldto automatically add it to your form. Upon incorporating a Confirm field to your form, you’ll see a range of settings this form field provides. confirm field settings

The setting you’ll want to focus on is the Confirm dropdown section. This is where you select the user input field you wish to validate. The dropdown displays only the fields currently added in your form builder.”

If you want to verify another field with a Confirm field, you’ll need to add the field first to your form. Then, it will appear in the Confirm dropdown section.

Please note, once you add a Confirm field to your form, the user must fill out this field. Otherwise, the validation will not work and the form will not submit. For this reason we strongly recommend mark ing the Confirm field as a required field to avoid any errors on the front end.

3. Verify an email address with the Confirm field

The Confirm field from Ninja Forms offers versatility in validating any form field of your choice, but the most common way our users integrate this field to their WordPress forms is likely to validate an email address.

When you experience issues with incorrect email addresses entered in the field, this feature becomes valuable. It can reduce the impact of spam by maintaining a clean list of contacts.

To verify an email in your WordPress forms, follow these steps:

Step 1: Add an Email field to your form and mark it as required field
Step 2: Add a Confirm field to your form ad mark it as required field
Step 3: On the Confirm field, click on the Confirm dropdown > select Email field

confirm field for email field

Step 4: Customize the error message when the Confirm field does not match the Email field (optional)

Navigate to the Advanced tab of the Ninja Forms contact form builder > Display Settings > These Fields Must Match! and enter the desired message you want to show users if the Confirm field does not match the Email field.

confirm field error text

As you can see below, if the email address on the Confirm field does not match the above Email field, users won’t be able to submit the form. They will be notified with a default message if the emails don’t match. We used the default “These Fields Must Match!” message.

This will prompt form visitors to correct any typos in the email address and submit the correct email, allowing them to successfully submit the form. And there you have it! This is a simple way to verify an email address in WordPress!

4. Email verification plugins compatible with Ninja Forms

If you’re searching for a more advanced way to verify email addresses or phone numbers on your WordPress forms, without relying solely on the Confirm field, we’ve got three verification plugins that’ll get the job done for you. Plus, they work great with our contact form plugin!

Clearout Email Validator plugin

The Clearout Email Verification plugin supports a rich set of popular form-based plugins including the Ninja Forms to validate email addresses in real-time. It conducts over 20 refined validation checks instantly, including grey-list verification, anti-spam checks, gibberish checks, catch-all verification, email blocklist verification, and more. Clearout Email Verifier supports various verification methods such as bulk email list validation, real-time email validation API, and a JavaScript widget.

One common issue with WordPress form submissions is receiving submissions from temporary or disposable email addresses. Clearout Email Validator effectively blocks these types of email addresses. Do you want to learn how? We put together a quick step-by-step guide How to Block Disposable Email Address on Your WordPress Form.

Mini Orange OTP Verification plugin

The miniOrange WordPress OTP Verification plugin guarantees user authenticity during the registration, login and contact form submissions. It achieves this by verifying users’ email addresses or mobile numbers through OTP (one-time password) using a unique password tha can only be used once as the name suggest. This mechanism prevents the use of fake email addresses or phone numbers. The plugin also checks if the email address or phone number of a user already exists.

If you’d like to setup an OTP verification for your WordPress forms using the Ninja Forms plugin, here is an official guide made by miniOrange: How to setup OTP Verification for Ninja Forms ( Above Version 3.0 )?

QuickEmailVerification plugin

The QuickEmailVerification plugin allows you to validate email address existence in real-time, before sending any emails. Once the QuickEmailVerification plugin is installed and activated, it will automatically detect and verify email fields present on the form when the form is submitted. If the email verification results are not as per your allowed result values, it will show an error message to the person entering the email address. When the email provided by the user is acceptable, form submission will proceed normally.

This plugin requires a QuickEmailVerification API key for verification, so you’ll need to create an account with QuickEmailVerification service first. The good news is you’ll receive 3000 free credits per month. This will allow you to test this service before considering a subscription plan.

You’ve just unlocked the power of the Confirm field!

Now you’ve discovered a simple yet effective method for verifying email addresses in WordPress using the Confirm field. And the best part? It’s completely free!

Looking for another WordPress field that provides a confirmation or denial to the queries on your form? Check the Single Checkbox tutorial and learn how to present users with only one option to choose from.

But that is not all. If you’ve experiencing issues with specific email addresses or domains resulting in spam submissions, the Conditional Logic add-on lets you block these unwanted emails easily. Just check our tutorial How to Block Unwanted Emails in WordPress and say goodbye to WordPress spam!

Are you new to form creation? Try out the Ninja Forms free core plugin. Explore the array of free features and see why it’s been a top choice among WordPress form plugins since 2011!