Form submission based on question | Community
Skip to main content
May 11, 2016
Question

Form submission based on question

  • May 11, 2016
  • 1 reply
  • 902 views

Hi,

I would like to get help on setting up the form. I would need to set up a form that allows submission if they select Yes for a question, and prevent form submission when people choose No. Also, when people click no, then I would like to show an error message.

Does anyone know how to do so?

Kind Regards,

Simmy

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

1 reply

Tim_Langlois1
Level 4
May 11, 2016

Hi Simmy - If you want to prevent a form from being submitted based on a value, you'd need to work with a developer to add add validation code to the form, there's not a out of the box feature for that.

See number 6. on the developers page for this: http://developers.marketo.com/documentation/websites/forms-2-0/

For custom error message you can change the default for some fields Change the Language of Form Validation/Error Messages and Submit Button - Marketo Docs - Product Docs

Or if it's custom you would also need to use code. See number 9. on same Forms 2.0 developers page.