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

    Combining selected multiple checkbox questions

    Asked by nailson80 on June 21, 2016 at 10:54 AM

    I am working on a survey where I want to ask the user to select 3 options from 5 categories. Right now on the form each category is setup as a separate question using a checkbox list. I can limit the number of selections per question, but I'd like to limit the selections to 3 all together. So, if a user selects 3 options from the first question, they would no longer be able to select anything from the other 4 questions. I've tried using the built-in conditional logic but it doesn't seem to have anything to accommodate this situation. Another option that would work for me is having one long checkbox list and being able to insert a text heading between each group of options. If I could find a way to insert text between options in the checkbox list that would solve my problem.

    Page URL:
    https://form.jotform.com/61714566138156

  • Profile Image
    JotForm Support

    Answered by EltonCris on June 21, 2016 at 12:03 PM

    You can actually do that using form calculation as a counter. So when the counter reaches to 3, you can simply hide the submit button so the user cannot submit the form and show a custom message informing them about the limits.

    Example:

    First, you have to define 1 as the calculation value of each option on the checkbox field properties.

    This way, every checked option is equivalent to 1. So basically, by adding all the checked options on all of the checkbox fields, you can easily identify if the user has reached the overall maximum limit.

    Then create a condition that if the counter is greater than 3, hide the submit button and show a custom message informing the user that the maximum limit has been surpassed.

    Demo: https://form.jotform.com/61724951903963

    Feel free to clone this form so you can check and figure out the setup.

    If you need further assistance, let us know.

  • Profile Image

    Answered by nailson80 on June 22, 2016 at 09:53 AM

    Thank you so much for your assistance. This is exactly what I needed.

  • Profile Image
    JotForm Support

    Answered by EltonCris on June 22, 2016 at 11:06 AM

    You're welcome and glad it helps!