Show/Hide Condition: Make a collapsible section only show when all fields are filled

  • AMDLLCINFO
    Asked on February 8, 2018 at 2:35 PM

    I have a form designed that both submits data and also uses the data to in subsequent calculation fields. I don't want the form user to see the subsequent calculation fields until they submit their data. I have the calculation fields in a collapsible field that I want to be visible when the form user clicks 'Submit'. Is there a way to use conditional logic to accomplish that?

  • aubreybourke
    Replied on February 8, 2018 at 4:06 PM

    You could setup a show condition to display your collapse section when all of your fields have been filled.

    Here's an example:

    https://form.jotform.com/80385651628968


    I marked all fields as required (The user cannot submit until all fields have been filled).

    And then the condition looks like this:

    1518123820The Easiest Online Form Builde Screenshot 10

    It will show the collapse section (called "Calculations") if all fields are filled.

  • AMDLLCINFO
    Replied on February 8, 2018 at 4:18 PM

    Thanks, Aubrey, I was able to get that far in my approach. I need to control the visibility of the results until the form user actually submits the information. Otherwise they receive the information but I might not get the data if they don't hit 'submit'. It would be great if the activation of the 'Submit' button could be an "IF" condition in conditional logic. Any other ideas?

  • David JotForm Support
    Replied on February 8, 2018 at 6:27 PM

    You could conditionally show the submit button, same as any other field in the form.  While activation is not possible, you can simply show the submit button when the appropriate conditions are met.