Forum Discussion
ChristopherD273
5 years agoCommunity Member
Limiting the number of checkboxes users can select (SL360)
I'm trying to figure out how I can limit the number of checkboxes that a user can have selected at any given time. What I would like to do is display a message if the users has 5 boxes selected and ...
MariaCS
5 years agoStaff
Hi, Christopher.
Thank you for sharing your .story file!
While I'm a little confused about your use of the radio buttons in FormView, here's a suggestion to accomplish what you asked:
- Connect the triggers to the submit button. That way, you won't have to subtract a value of one when the user cancels the selection:

- Submit the interaction only if the variable Top5DD is equal to or less than five.

- If it's more than five, then set the variable to zero so the count can restart:

Let me know if that works!
Related Content
- 3 months ago
- 2 years ago
- 10 years ago
- 3 months ago
- 7 months ago