2 Replies Latest reply on Dec 22, 2016 2:51 AM by 67ee705b57a2cb0cf512ac1550f88e6f4f10fcff

    Can we avoid entering invalid data on Marketo Forms by user?

      Hi All,

      As we are using Marketo form for Inbound marketing Programs. Is there a way that we can avoid entering invalid data on Marketo Forms (for ex. first name /Last name contains(.,-,test,asdf,xyz,abc,etc) and Email address contains (test,other,gamil.com,etc)?

       

      Please help me with your suggestions and Idea.

       

      Thanks,

      Selven R

        • Re: Can we avoid entering invalid data on Marketo Forms by user?
          Sanford Whiteman

          Can you validate names againt those patterns? Yes. The Forms JS API (see the docs) allows you to validate using any criteria you want. There are many examples in the Community (including several I've contributed against my better judgment!).

           

          Should you?  No. Those constraints don't model the real world. "test" is a valid part of a name. So is "abc." So, most certainly, are periods and hyphens. "test" and "other" are perfectly valid character sequences on either side of an email address. http://gamil.com happens to be a lame design site, but it's not nonexistent and surely has some valid mailboxes.

           

          Based on these examples, it doesn't seem like you thought this through. Invalid proper nouns are very, very difficult to catch without abundant false positives, and randomly assigned and/or purposely opaque email addresses can contain seemingly "nonsensical" sequences but still be totally valid for receiving mail. And even when you're right about something being invalid, you're giving them another chance: stop me from entering "abc" as my entire first name and I'll just type "Joe."

           

          That said, machine learning can help you out: there are services you could call from your form (not a few simple lines of code but a remote web service) that perform with higher accuracy, though still with false positives (i.e. lost leads).

           

          But I think your energy would be better spent on ensuring that somebody entered an emailable email address (using a web service designed for this purpose) rather than falsely telling people they mistyped. You may also want to drop addresses that do exist, but are @ one of the 100s of free/disposable email provders.

          1 of 1 people found this helpful