Prevent form submission based on answer to a question.

Description

I would like to be able to prohibit submitting a form based on conditions. For example we will ask a “yes” “no” question and it be conditional. If they answer “no” we want to show them a message and don’t want them to be able to continue. I can’t seem to figure out how to do this.

What are you trying to achieve

I would like to be able to prohibit submitting a form based on conditions. For example we will ask a “yes” “no” question and it be conditional. If they answer “no” we want to show them a message and don’t want them to be able to continue. I can’t seem to figure out how to do this.