I have a multiple checkbox question that needs to have exactly the same number of ticked checkboxes as given in a multiple choice question. So if a user chooses the option 2
in the multiple choice question, I want to require that they choose exactly 2
options in the following checkbox question.
Google Forms – Requiring Exact Number of Checkboxes Based on Multiple Choice Response
google-forms
Related Topic
- Google-drive – Google Forms – Checkboxes – Edit Option
- Google-forms – Simple sum of checkboxes
- Google Forms – How ‘Other’ Field Works in Multiple Choice Questions
- Google Forms – How to Set Up Conditional Branching with Checkboxes
- Google Forms – How to Add ‘None of the Above’ Checkbox
- Google-forms – Google Forms – two required questions – accept with at least one of them
Best Answer
Google Forms lets you use a validation rule like
select exactly 2 checkboxes
. In your scenario, the2
will vary. The rule, however, cannot read the2
dynamically, so the value will have to be hardcoded.There is a way to vary the number, though:
2
.go to section based on answer
option.To make sure the user only ever sees one copy of the checkbox question, you would have to use the
go to section based on answer
again to skip any remaining checkbox sections. This may require that you add another multiple choice or dropdown question at the end of each checkbox section.All this adds complexity to the form, and I am not sure if it is worth the effort in your use case. It may be simpler to just add text to the form to emphasize to the user that they can only tick as many checkboxes as the multiple choice indicates.
You may also want to consider using another forms package. There are many such packages out there that support writing their responses directly to Google Sheets.
Yet another option is to write your own custom HTML form and deploy it as a web app. See the Web App Demo for sample code.