This question already has an answer here:
- Selection Limit on CheckboxBar 3 answers
I am a novice to interactive interface with Dynamic and other stuff. So don't blame on me if I ask idiot questions.
What I want is to set a checkbox and set a limitation for the maximal number that choices can be checked. For example, say I have a checkboxbar like:
Now I am able to check as many choices as I like. But what if I only want to check at most two box? Is there a way to let me check the first two boxes and then the remaining unchecked one will automatically become gray(not clickable, just like the option:Enabled->False)
My naive idea was:
But it doesn't work.
Thanks for your time! Any comments and suggestions are very welcome.