Skip to main content
Kim_Wieczner
Level 3
October 15, 2018
Question

Apply Salesforce email validation logic to Marketo forms

  • October 15, 2018
  • 1 reply
  • 1869 views

We have experienced a number of lead create errors from Marketo to Salesforce because of someone filling out their email address missing ".com" -- i.e. jsmith@gmail

The Marketo form submits but Salesforce blocks the lead create, since Marketo only validates on the "@".

Does anyone have a recommendation for applying the same validation logic Salesforce uses to the Marketo form fill?

This also seems like a missing feature...given that Salesforce is already doing this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
October 15, 2018

Please read this blog post: No, sandy@gmail isn’t an “incomplete” e-mail address!

As you'll see, validation that bluntly considers any single-label domain to be invalid is fundamentally wrong.

In the blog post, there's code to add a requirement for multiple-label domains, but you will potentially be rejecting certain rare cases.