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
- What is a Confirm field?
- How to add a Confirm field to your WordPress form
- Verify an email address with the Confirm field
- 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:
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.
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
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.
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!
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.
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!