Change the state of a caption bubble on another slide
Mar 19, 2015
Hi, I'm trying to change the state of a caption bubble from hidden to normal on slide two when the user clicks a "Continue" button on a layer in slide one.
Slide one:
The user is asked a question and given three options, aa, bb, or cc. If they choose option aa, feedback is offered on Layer aa within slide one. Feedback layers also exist for bb and cc. I've set a TRUE/FALSE variable on the aa "Continue" button entitled 7aaFeedback, and set it to False. When the user clicks aa's "Continue" button, the trigger adjusts variable 7aaFeedback to True. The same triggers and variables exist for bb and cc (7bbFeedback and 7ccFeedback) with the same conditions.
Slide two:
I've created three caption options with Hidden states, and I want to reveal one of them depending on which path the user chose on slide one (aa, bb, or cc). The caption for aa has the following trigger:
Change state of aa caption to Normal, When the timeline starts, On Condition 7aaFeedback = True.
Change state of bb caption to Normal, When the timeline starts, On Condition 7bbFeedback = True.
Change state of cc caption to Normal, When the timeline starts, On Condition 7ccFeedback = True.
When I go through the course, it does not work. I get to slide two, and the caption box does not show.
What am I missing?
5 Replies
This seems right to me. Just make sure that the T/F varibales are set to True BEFORE you go to the next slide. Otherwise, you can share your .story file here s that we can have a look.
Michael, many thanks. While I awaited the answer, I figured this out, and it worked! I was literally baffled.
One last question, if in the layer properties I select Revisits: When revisiting Reset to initial state, will this reset the variable to false if a user goes back through this interaction? I'm about to test it, but if there is another way to do this, please let me know.
Thanks again!
Only object states are reset with this setting, but not the value of variables.
Does that mean there is no way to reset a variable back to false after a button is visited, etc.?
Hi Karen,
You'd need to set up a trigger if you wanted to readjust the variable. As Michael mentioned the slide property setting won't adjust the variable back to it's original state just based on that alone - but if you had a trigger for "adjust variable to false when the timeline starts" this would reset the variable if the user was visiting the slide again and the slide was set to reset to initial state.
This discussion is closed. You can start a new discussion or contact Articulate Support.