What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Show field if TWO options are checked

    Asked by caustin 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!

    checked JotForm select thanks
  • Profile Image

    Answered by paul_x 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 

  • Profile Image
    JotForm Support

    Answered by Boris on October 20, 2015 at 02: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:

    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:

    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.

  • Profile Image

    Answered by caustin on October 22, 2015 at 01:57 PM

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