How to hide the Submit button if a question is answered to No?

  • CFPBMC
    Asked on November 28, 2023 at 2:32 PM

    Hi.

    If a question is answered 'no', I don't want the person completing the form to be able to submit this form. I want text stating that since the answer was 'no', this form can't be submitted. How is it best to do this?

    Thank you.


  • Victorino_S JotForm Support
    Replied on November 28, 2023 at 6:49 PM

    Hi CFPBMC,

    Thanks for reaching out to Jotform Support. Your requirements can be achieved by using the Show/Hide Field conditional logic to hide the Submit button and show a Paragraph element displaying the error text when the selected answer from a field is No. Let me show you how:

    1. Click Settings in Form Builder.
    2. Go to the Conditions tab.
    3. Add a condition and select the Show/Hide Field conditional logic. How to hide the Submit button if a question is answered to No? Image 1 Screenshot 40
    4. Here's an example condition to hide the Submit button and show the Paragraph element. How to hide the Submit button if a question is answered to No? Image 2 Screenshot 51


    Sample Result:

    How to hide the Submit button if a question is answered to No? Image 3 Screenshot 62


    You can test my demo form and see how it works.

    Give it a try, and let us know how it goes.

  • CFPBMC
    Replied on November 29, 2023 at 9:32 AM

    great. thank you!