OTP verification helps ensure that the email address provided in the form is valid and belongs to the user submitting the form.
It helps prevent spam submissions, ensures that users provide accurate contact information, and reduces the chances of receiving submissions from fake or malicious users.
Plugin Installation
Download here: Contact Form 7 Email Verification – OTP Verification
Once you’ve chosen a plugin, you must install it on your website. Log into your WordPress admin dashboard. Navigate to the “Plugins” section and click “Add New.” Search for the plugin by name and click “Install Now” once you find it.
After installation, click “Activate” to activate the plugin.
Create a Contact Form 7 Email Verification – OTP Verification Action
- Step 1: Create a new form
Hover over the Contact menu, and click on Add new. A new contact form is displayed, give it the title.
- Step 2: Add Email and OTP fields
At the email field: insert the code is verify: check
At the text OTP field: insert the code is otp: check
You can see below:
<label> Your name
[text* your-name autocomplete:name] </label>
<label> Your email
[email* your-email verify:check] </label>
<label> Your OTP
[text opt_name otp:check] </label>
[submit "Submit"]
Save and have a preview:
Change Text/Message
Navigate to Contact – Email Verify to modify.
That’s it! We hope this article helped you find out how to use Email Verification – OTP with your Contact Form 7.