I get sooooo much spam on my form from my Google ads I’d like to disallow gmail and yahoo email addresses entirely from my lead form. Is there any way to accomplish this without adding custom javascript to the page?
Page 1 / 1
Hi Lee,
Unfortunately, no way to do it without adding a bit of code. You can only validate the email field as an email address.
However, there is an older question here in the community with the exact script you can use/modify to fit your needs:
question : /topics/modify_form_validation_to_prevent_free_email_domains
script : https://gist.github.com/markwainwright/0c600a808a6477d138b8
Another solution might be to use an external tool like Wufoo for your lead form.
Best of luck,
Hristian
Reply
Log in to the Unbounce Community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.