Preventing gmail, hotmail etc on spark edition
Hello,
I included this script in my template in order to prevent users from entering non-business addresses
http://developers.marketo.com/blog/restrict-free-email-domains-on-form-fill-out/
However it doesnt seem to work. The MktoForms2 element seems to be unavailable
Might this have to do with the fact that I have the spark edition?
Edit: Never mind, solved. Apparently you cannot place this script in the <head> tag, it needs to be at the bottom of the <body> tag