It sounds like you want to disable all the other buttons after the user selects 5 of them. You could use a number variable to track how many buttons have been selected, and disable all other buttons when that number is reached. However, you'd also have to allow the user to deselect one or more of the selected buttons and enable them to change their selection. That's a LOT of triggers.
It'd be easier to just attach triggers to the Check button that do this:
Add 1 to a number variable for each button that's selected. (You will need a trigger to check the state of each button.)
If that number variable is >5, show a warning layer that tells the user they selected too many buttons, and that they have to deselect some before continuing.
You could also show a different layer that tells the user they haven't selected enough buttons if the variable value <5.
2 Replies
Hi, Nina,
It sounds like you want to disable all the other buttons after the user selects 5 of them. You could use a number variable to track how many buttons have been selected, and disable all other buttons when that number is reached. However, you'd also have to allow the user to deselect one or more of the selected buttons and enable them to change their selection. That's a LOT of triggers.
It'd be easier to just attach triggers to the Check button that do this:
Thank you very much!