This content has been marked as final. Show 5 replies
maybe you need to define the "validating" more detailed, but did you try the Mask Input in Forms 2.0?
And which kind of validation do you want for emails?
Hi Steffen, I hope to exclude fake email addresses (firstname.lastname@example.org for instance). I would also like the form to verify that the phone number is a valid phone number (wishful thinking), or at the very least the correct number of digits. The Mask input will help, thanks!
I have no idea if is it anyway possible to do this kind of telephone verifying in Marketo, but as we are mainly Salesforce Consulting I know that there it is possible to do a further verifying where every number is shortly called to check if it "exists". If you need this, maybe I would take a look at AppExchange.
This part blocks mail domains which are not wanted:
var invalidDomains =["hotmail.com","yahoo.com","aol.com","gmail.com","msn.com","comcast.net",];
Hope that helps, and maybe other people have different hints.
The problem with phone masking is you can't really use it for international numbers. Masking will only verify the correct format of the email address.