Forum Discussion
Triggers "when state of ... is ..." not working as expected
It's not just the Normal state that is a problem. I've attached simple 1-slide Storyline file in which I have 3 buttons that all have a Selected state.
I want the Submit button to be in the Normal state if at least one of the other buttons is in the Selected state, and I want the Submit button to be set to the Disabled state if none of the other buttons are in the Selected state.
The trigger to change the state of the Submit button to Normal is straightforward and works fine:
As Johan identified over 2 years ago, the logic for changing the state of the Submit button back to disabled when all of the other buttons are not in the Selected state can be expressed in two equivalent ways. The more obvious way is to use the "When the state of none of...is Selected":
Unfortunately, this does not work--the Submit button never gets changed to the Normal state, even when none of the other three buttons are Selected.
A logically-equivalent way to express this is to use the "When the state of all of...is not Selected":
This statement is a bit more awkward, but is logically equivalent to the statement that doesn't work. However, this trigger works fine.
Bottom line: There appears to be a bug (perhaps a long-standing one) in the implementation of the "When the state of none of" trigger, and it does not appear limited to instances where the Normal state is involved.
I've attached my Storyline file which has both versions of the trigger to disable the Submit button, so you can toggle back and forth between them (by disabling the one you don't want) to make testing easier.
- BillOsborn-26d14 years agoCommunity Member
Just commenting so it is known that this has been an ongoing issue impacting multiple users... I have been unable to get triggers that check the states of multiple items to ever work. Clearly the intent was to have that function, but no matter what I or my team members have tried, it just won't trigger.
Perhaps this issue will be addressed thanks to your documentation of it.