Show field if TWO options are checked

  • caustin
    Asked on October 20, 2015 at 12:07 PM

    Hello,

    I am working on a form in which I would like a field to show/hide if two or more options are checked.  The conditional logic works when I select one option, but I still want to the form to hide the subsequent question until at least two options have been checked.

    We've got a sample of the form located on our testing server at:

    https://form.jotform.com/52884136035153 

     

    Thanks for the help!

  • paul_x
    Replied on October 20, 2015 at 12:39 PM

    Hi caustin.

    In the clone I made, the result was achieved by using a Form Calculation (which is made visible in this example) and using the count() function to count how many boxes are checked. Then the field (If your auction has multiple ...) will only appear if the boxes checked are 2 or more. Otherwise, it will not show. 

    - Paul 

    Show field if TWO options are checked  Image 1 Screenshot 20

  • Boris
    Replied on October 20, 2015 at 2:13 PM

    Thank you very much for your kind contribution, Paul.

    You can achieve your requirement, caustin, in the way that our friendly user Paul has so kindly provided.

    I would just like to add in case that you need these clarifications, that the conditional logic for Show/Hide rule is then based on the calculation field, as shown in the image below taken from Paul's form:

    Show field if TWO options are checked  Image 1 Screenshot 30

    The Form Calculation looks as follows, and you can add math functions such as count() by using the triple-dot button (...) in the Form Calculation, as marked in the image below:

    Show field if TWO options are checked  Image 2 Screenshot 41

    If you need any assistance in setting it up, caustin, please do let us know and we will be happy to help. And thank you again, Paul.

  • caustin
    Replied on October 22, 2015 at 1:57 PM

    Thanks a lot guys! You're making me look good at work.  Awesome software!