This content has been marked as final.
Show 1 reply
-
Re: email validation feature - entering a fake or free email address
13b6ddb5d75795faf166c553c40c14d1236c9244 Sep 28, 2016 6:48 AM (in response to cf80fd6f75f9bb3f7d480c66b2b8c2f564b0788c)Why do you want to stop people from downloading your content? Some people only use gmail/yahoo/outlook, so instead of letting them learn about you or get your trial, you are causing friction and will most likely cause them to abandon the process. What is more important: clean email addresses or leads looking to learn about and possibly buy your product?
If you must do this, you will need to write some custom Javascript:- Forms 2.0 JS API Documentation: http://developers.marketo.com/rest-api/assets/forms/examples/
- Search for "RegEx free email accounts"
- Write a function that fails validation if the email address matches the regex test.
P.S. Bots don't respect JavaScript, so any validation written to deter them will most likely not work.