Can I require a certain field value in order for someone to submit a Marketo Form? | Community
Skip to main content
May 1, 2014
Solved

Can I require a certain field value in order for someone to submit a Marketo Form?

  • May 1, 2014
  • 4 replies
  • 3303 views
We are placing a form on a non Marketo landing page (our website) and we are looking to put a question on our form like "What Year Is It" that the client would have to fill out correctly in order to be able to submit the form to prevent spam.  


I know how to make fields required, but I have no idea as to how and make predetermined field values (like 2014) required in order to submit.....any thoughts?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Dory_Viscoglio
Bryant, this might also help: Custom Validation on Marketo Forms

4 replies

Jamie-Carey
New Participant
September 15, 2016

Hey Geoff, you could also have a hidden field on your form that is named something random and if it gets filled out (by a robot) then you would have a campaign that triggers to mark them as junk or delete them.

New Participant
May 4, 2014
Since you are using Forms 2, the previous articles discussed here may not apply.

You can use the onVaidate event to do your custom logic.  See http://developers.marketo.com/documentation/websites/forms-2-0/ for more details.

Here is an article that may also be helpful - https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PpA9AAK

Dory_Viscoglio
Dory_ViscoglioAccepted solution
New Participant
May 1, 2014
Bryant, this might also help: Custom Validation on Marketo Forms
New Participant
September 13, 2016

Unfortunately this doc is no longer available

Dory_Viscoglio
New Participant
September 13, 2016

Bummer. Maybe Liz Courter​ or @Liz Courter​ can fix it?

May 1, 2014