JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Combining selected multiple checkbox questionsAsked 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.
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.
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.
Feel free to clone this form so you can check and figure out the setup.
If you need further assistance, let us know.
Thank you so much for your assistance. This is exactly what I needed.
You're welcome and glad it helps!