Skip to main content
Tracy_Boesken
Level 3
Feb 3, 2021 7:56 PM UTC
Solved

Marketo Forms

Is there a way to set restrictions (by email address) on who can complete your Form?

Thanks,

--Tracy

SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Feb 3, 2021 8:26 PM UTC

Certainly. But bear in mind that a concerted attacker can always get around any form validation (since it relies on JavaScript, and they can bypass JS easily). It's essentially a good faith reminder, not a full technical restriction.

 

You can use the FormsPlus::EmailPattern JS library (copy it to your Design Studio) and the demo code shown here:

 

MktoForms2 :: FormsPlus-EmailPattern [simple demo] 

 

 

7 replies

SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Feb 3, 2021 8:26 PM UTC

Certainly. But bear in mind that a concerted attacker can always get around any form validation (since it relies on JavaScript, and they can bypass JS easily). It's essentially a good faith reminder, not a full technical restriction.

 

You can use the FormsPlus::EmailPattern JS library (copy it to your Design Studio) and the demo code shown here:

 

MktoForms2 :: FormsPlus-EmailPattern [simple demo] 

 

 

Translate
Tracy_Boesken
Level 3
Feb 3, 2021 9:49 PM UTC

Thank you for replying Sandford.

The goal is to send an email (containing a Marketo Landing Page w/form) to a group of invitees and to make sure they do not forward it to someone else. So how do I adapt what you suggested using a smart list of email addresses?

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Feb 3, 2021 10:00 PM UTC

By Smart List I assume you mean an exported SL, right? B/c you can't do a SL lookup from the form itself.

Translate