State of button doesn't change from disabled to normal using triggers & conditions by multiple variables

Dec 09, 2021

Hi all,

Please help: I have one slide activity without layers.

The activity is some sort of "drag and drop " I've adjusted.

On the slide: "Try Again" button. The button should be in DISABLED state when user enters the screen, until user puts all cards on place. I have the true/false variables adjusted when each card is put at ANY place. Looks that variables are adjusted correctly.

For the "Try Again" button, which is DISABLED as initial state, there is a trigger:

"Change state of BUTTON to Normal when Timeline starts on this slide if Variable X is true, and Variable Y is true, and Variable Z is true ... (8 variables that should be "true")."

BUT the trigger doesn't work! the "Try Again" button remains DISABLED all the time.

Please advise...

 

1 Reply
Judy Nollet

The problem is the "when" for your trigger. By the time the variables are changed to True, the slide is already past the "timeline starts" point. 

Instead of that "when," you could use multiple versions of your trigger that have it run when a given variable changes. For example, change the button state when Variable X changes, with the conditions that all the variables are True. You need a trigger for each variable, since you don't know the order they'll change.