Hide Next Button Using Triggers
Apr 25, 2018
Hello,
I'm looking for a little help as I have a slide with 3 images (with text on top) that link to different slides and I don't want the user to be able to continue until he/she has clicked on all of the images. Since the interaction wasn't working I figured it might be because the image and text are separate items and it depends where the user clicks. Therefore, I put 3 invisible rectangles on top of each image/text combo. Each invisible rectangle has a normal, hover and visited states. I have a trigger to change the state of the Next button to hidden when the timeline starts. I also have a trigger to change the state of the Next button to normal when the state of rectangle 1 and rectangle 2 and rectangle 3 are visited. On the base layer I have the option checked to resume saved state since the user navigates from this slide whenever a rectangle is clicked. However, once the user has clicked all 3 rectangles and the e-learning brings them back to the slide in question, the next button is not showing. I'm wondering why?
7 Replies
It sounds like you have it set up ok. Can you post your file?
I just did something similar for someone else as an example. You can check out the story file in this post if you wish. Its set up similar to what you are describing.
Sample Story
Hi Bob,
Thank you for the reply.
The file is confidential, so I am not able to post. I was trying to have a look at the sample story you shared, but I'm using Storyline 2 and I'm unable to open it. Would it be possible for you to share the sample in a Storyline 2 compatible file?
Thank you,
Laura
Here's a SL2 sample: https://community.articulate.com/discussions/articulate-storyline/free-sample-restricted-and-free-random-navigation-using-variables-and-triggers
The restricted version does what you describe. It uses a custom Next button, but the principles are the same.
Thanks Walt.
I've tried adding 3 variables originally set to false for each of the 3 rectangles. Then I have triggers (as in the attached) all on the main slide, but the next button still doesn't show up when the 3 rectangles are clicked. Perhaps it's related to the fact that the user navigates to another slide when a rectangle is clicked, but I do have the main slide set to resume saved state when revisiting so I haven't crack this yet.
I think I got it by separating the "make variable true" options to the end of the respective sections the rectangles navigate to. Thank you everyone for the ideas and help!
FYI:
The picture you posted wasn't working because the trigger to jump to the next section was jumping and cutting off the execution of any triggers below it, so the variables were never set to true. If you had moved those triggers up above the jump triggers, your original would have worked.
However, in my opinion it would have been a functional, but poor design, because it credits you for a section when all you have done is click to go there. I think it is much better design to get credit for a section after the section has been completed, like you have it now.
Hi Walt. That totally makes sense and I appreciate the further explanation and your sample file that helped get me to the solution. Thanks again, laura
This discussion is closed. You can start a new discussion or contact Articulate Support.