How do you create a trigger on one page to show an icon on another page?1573 0 4
How do you trigger a show action for an icon that is on one page, but the trigger action is the completion of another page?
I selected the page > clicked Trigger > When this page is completed > Show Action > then the only items I can select are on the same page that I am using as a trigger. I can't figure out where to select an image on another page to show on completion. The search only returns items on the same page, too.
Do I have to create a custom variable or am I missing something simple? Thanks
Comments( 0 )
Answers ( 4 )
You are on the right path. Triggers can only effect items that are within the page you are calling. So in this case you would want the action to be setting a custom variable. Then on the other page you would have that item hidden or shown based on that variable. (Generally having the item "hidden on load" and the variable value triggering a "show" of that item works best.)
This works because variables are global to the project and can be set/evaluated on any page.
Comments( 0 )
Thanks - it's good to know that I didn't overlook something. I tried it several different ways. I have read your articles about variable and the user guide, but when I go to create a variable, I get stuck. For this instance that I've outlined, what kind of variable would I create and what would the parameters be? I'm guessing it's a boolean (true/false) - either the page is complete or it isn't - but how do I write in the conditions field to show the correct image?
Comments( 1 )
Ok. I followed these steps, and it still isn't working.
1. Select target page > Add Trigger > When current page is completed > set variable > next > trigger: when page's content has been viewed > variable: IPcomplete(number) > operator: = > value: 1 > fire once per page > apply.
2. Select icon > triggers variables > more > variables > IPcomplete(number) > = > 1 > next > show > next > IPcomplete / no effect / when variable is / IPcomplete(number) = 1 > apply.
What am I doing wrong? Thanks for all your help.