Restrict free email domains on form fill out | Community
Skip to main content
Benjamin_Ortiz1
Level 4
Sep 9, 2014 9:23 PM UTC
Solved

Restrict free email domains on form fill out

We would like to restrict people from submitting a form that contains a free email domain (gmail, yahoo, etc..) in the email address field. Anyone know if this is possible?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Sep 9, 2014 11:56 PM UTC

11 replies

Level 1
Jul 26, 2019 6:57 PM UTC

We currently have this script running on our landing pages and is working when we test it.....but we're still seeing gmails coming in when we run our weekly reports. 

Does anyone know why this could be happening? The only possibility I can think of is if the submitting users have javascript is completely disabled but I find it highly unlikely so many are coming through. 

Translate
SanfordWhiteman
Level 10
Jul 26, 2019 8:12 PM UTC

Without seeing your page it's impossible to tell.

Translate
Level 1
Jul 30, 2019 5:08 PM UTC

Here's one of the pages where we're seeing this occur: https://id.trulioo.com/aml-kyc.html

Thanks for your help!  

Translate
Jennifer_Burtch
Level 2
Mar 27, 2017 6:45 PM UTC

Can someone tell me where on the landing page I need to put this code?  I tried editing the Meta data and putting in the Custom Head HTML field, but the form still accepting a public email used in the script. I don't see how I can access the full code from my landing page.

Translate
Hanna_Mak
Level 2
Jan 26, 2018 3:44 PM UTC

Hi Jennifer,

Not sure if you saw this thread:

Restrict Free Email for Form Submission

Sanford's explanation should help you. Essentially you'll need to add it to the end of your page so that the script can fire after your form code.

Hope that helps,

Hanna

Translate
Dec 18, 2014 4:28 PM UTC
I've also recently gotten leads with @gmail.com going through. Nothing on the page itself has been changed, so I'm wondering if there's something with the code as well.
Translate
Kenny_Elkington
Level 10
Oct 14, 2014 7:37 PM UTC
Hey Ben,

It's working normally for me in my tests.  Has the page in question been changed?
Translate
Benjamin_Ortiz1
Level 4
Oct 14, 2014 6:53 PM UTC
Hi Murtza,

Is this code still working? I have it on my landing page but Leads with @gmail.com have passed through recently
Translate
Accepted solution
Sep 9, 2014 11:56 PM UTC
Josh_Hill13
Level 10
Sep 9, 2014 9:52 PM UTC

Sure. There are several threads related to this. You will need javascript to block it at the form level.
 

If you don't care if they fill it out, then you can filter out the autoresponder at the smart list level with Email NOT CONTAINS "XXXX"

Translate