Question:
I would like to know if it is possible to create a wix contact form on your website. Where a customer filling in the information has to verify via code that the mobile number and / or email address is a real one and not a fake?
I have got a series of spammers sending me enquiries through my contact form with fake details such an email address that’s made up e.g., hahaha@youcantcatchme.com.
I want the ability before anyone submits their enquiry they have to validate their email by receiving a code to submit their contact from if this make sense would be amazing as it would stop all the spam and hate mail.
Yes, you can implement 2FA for phone numbers and email, using the various APIs available out there.
Here’s an example on how you can integarte 2FA for phone numbers using Twilio:
Or you can even create your own custom OTP verify mechanism using triggered emails or other providers like Sendgrid.
Hi Pratham,
Thanks but this not what I am trying to do! its for anyone that fill in a contact from on my site: https://www.accricketcoaching.com/contactus
i don’t want anyone to be able to submit a contact form by giving me a fake email address and mobile number! before submitting the form I want to know if the number and email address they are providing me is real and not fake so they need to authenticate there own details before submitting the form!
I’m trying to stop people sending me abusive messages and threats.
Hey Ali,
The post above contained an example of how to set up 2FA for phone numbers using Twilio, since there is no example for email verification before form submissions on the Velo Examples page. This is something you’ll have to set up, like I said, using triggered emails or other third party providers. This will involve custom code and a custom form - created with input elements. This is how I’ve set it up on one of my sites.
Now if you’re looking for an easier workaround, you can simply use the Wix Members app which offers a verify email during signup feature, and you can change the Contact Page settings so that only signed in users can view the form. This will greatly reduce the spam mail and fake submissions on your site.