Re: Anyone know how to reject email addresses from specific domains to keep people from completing forms?

Anonymous
Not applicable

Hi. I am looking for assistance on how to reject email addresses from specific domains to keep people from completing forms with junk data?

8 REPLIES 8
Josh_Hill13
Level 10 - Champion Alumni

If you are referring to spam bots, also look for some methods in the forums.

Kenny_Elkington
Marketo Employee
Anonymous
Not applicable

Thanks for passing this along. I entered the code in our landing page, but it does not appear to be working. We’re still getting free email domains registering for our gated content.

Any other suggestions?

Jason

SanfordWhiteman
Level 10 - Community Moderator

Please post a link to your URL.  I recommend this code instead, but in effect they're equivalent. I'd wager you have it plugged in wrong somehow.

Anonymous
Not applicable

Hi Sanford,

Can you provide directions on where to put this on the form? I'm trying to add it as well, but suspect I'm not putting it in the right section since it doesn't seem to be working.

Your help is appreciated!

Gwen

SanfordWhiteman
Level 10 - Community Moderator

It doesn't go "on" the form exactly, but in a form's whenReady script.  I updated the Fiddle so you can see what I mean.  In a Marketo-hosted LP, add an HTML block that has the whole second <SCRIPT> block.

Anonymous
Not applicable

Woohoo. It worked for me. Thanks so much Sanford. Very helpful.

Anonymous
Not applicable

Moving to the Product section since I think you are asking this question in reference to Marketo emails.