Message Boards Message Boards

Back

Conditional Actions

Conditional Actions
Answer
9/20/20 11:35 AM
Hi,  Can someone help me work out  how to write an action that if the "stack 2 and stack 3 close (cross buttons) have both been actioned show stack 4?"   Thanks  Vidette
0 (0 Votes)

RE: Conditional Actions
Answer
9/21/20 5:38 PM as a reply to Vidette Hughes.
Hello,
You're on the right track with Conditional Actions. What you need is a wide trigger, and then a condition to narrow the scope to the state you are interested in (when ANY of the Stacks are hidden, check to see that they are ALL currently hidden). In this situation, because it's all on the same page, you can use the Stacks for both your triggers and your condition.

Here's a quick video - https://share.smartbuilder.com/public/support/show-stack-when-other-stacks-hidden.mp4

When the first Stack is hidden, the action starts, but the condition fails, so nothing happens. When the second Stack is hidden, the action starts, the condition is met, and so the action inside the condition (show Stack 4) executes.

If you didn't have the Stacks right there to query their visibility, you could also use variables to keep track of which items were clicked.

Hope that helps!
0 (0 Votes)