Setting a selection limit for multiple buttons

Aug 18, 2023

Hi.

Need your guidance.

I'm working on a slide that has nine buttons.

I want the user to select a maximum of three before the submit button state flips to normal.

I understand how to get the submit button to normal after three are selected using a number count but how can I limit the amount of buttons selected to three. 

Would like to set this up so if they try to select a fourth button, it won't let them until they deselect one of the three already selected.

Thank you.


E

4 Replies
Robert Stryker

Here's a (quickly built) functional framework for what I believe you described.

It only has five buttons but the format would be the same as with nine (just with a lot more triggers).

It allows the participant to select up to three selections then disables the other two. But if a selection is reversed to leave only 2 selected, the programming changes the previously disabled buttons to a normal state to allow for a different selection.

Hope it helps!

Bob

Judy Nollet

Looks like Bob got his demo up before I finished mine. 

I took a different approach than he did. Mine only enables the SUBMIT button when 3 choices are selected. If the user selected a 4th choice, the SUBMIT button disables again, and a warning message shows. 

The attached file also includes notes about how the programming works.