Re: Form submission based on question

Anonymous
Not applicable

Form submission based on question

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

1 REPLY 1
Tim_Langlois1
Level 4

Re: Form submission based on question

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 Doc...

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