Forum Discussion
EricaDay-409912
3 years agoCommunity Member
Multi-Select Button Set
I have a slide with multiple buttons. I would like the learner to select three. Is there a way to require the learner to select three and a max of three? Right now they can pick more or less which changes the outcome/purpose. Thanks!
- JudyNolletSuper Hero
You could do that using variables and trigger conditions.
- Use a number variable to track how many buttons are selected.
- Add triggers to the buttons that add 1 to the variable when selected and that subtract 1 from the variable when deselected.
- Add triggers that disable or enable the Submit button based on the value of the variable. These triggers should run when the variable changes, and use a condition that checks for the proper value.
FYI: The User Guide has more info about conditions and variables: