Reference the attached notebook (which is a toy example), I have a PopupMenu with three items (opt1). For each item in the PopupMenu there’s a list of options that can be selected/deselected using a CheckboxBar (opt2). The point I’m stuck on is how to reset the list of selected options, opt2, from the CheckboxBar whenever the selected item (opt1) in the main PopupMen changes. Basically, I want to reset the list of items in opt2 to an empty lists {} whenever opt1 changes.
I could add a button to do this, but it seems unnecessary and I’d prefer not to have do so.
Any suggestions would be very much appreciated.
Solved
Have figured out a solution - see second attached notebook (ExampleNotebook2.nb).