Don't Allow Gmail or Yahoo Emails


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?


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:


Another solution might be to use an external tool like Wufoo for your lead form. 

Best of luck,