True/False Variable Won't Allow Slide to Advance
Dec 09, 2019
Hello!
I am having some difficulty with a variable --at least I think that's what is causing the problem. I have several different items for learners to click on from the main slide which will reveal different layers. I added variables to each of these objects on the slide and set them to "false." When the user clicks each, I have a trigger to adjust the variable to "true." I don't want users to be able to advance to the next slide until they have viewed each object and therefore the corresponding layers.
My next button has a condition to advance if each object variable is = to true. However, when I test it it doesn't work. If anyone could provide any insight into what I may have done wrong that would be great. I tried the same method on several other slides part of this same course and it is working fine, but I must have done something wrong I guess?
7 Replies
Hi Marisa
trigger order is important - you are showing the layer before you set the variable so that trigger is not executing - try moving it above the show layer trigger for each of the objects. I noticed you have a custom next button and the default player button selected
The variable for SADT doesn't change to true.
I think there's something wrong with the text boxes on the SADT layer that is causing issues. I create a test layer and the variable changes., However, if I add the text boxes to that layer it doesn't.
I'd recreate the text boxes and it should work.
After playing with this a bit, there's something wrong with the SADT button. I'd rebuild it. Not sure if it inherited some weirdness from being copied/pasted or what, but the button isn't working right.
What's interesting is that I tried to show you how to make this easier with visited states and not variables, but the SADT button has issues when it links to the SADT layer. Not sure what's going on. In either case, here's an easier way to do what you're doing without variables.
https://360.articulate.com/review/content/f6c36971-de87-4c92-a357-6097dc988095/review
Hi Tom,
Thank you so much! This is a way better way to accomplish what I was trying to do. I really appreciate the help and the detailed video showing all of the steps to set things up properly! Thank you thank you!
Hi Wendy,
I didn't realize that. I will keep that in mind in future projects for sure! Thank you!
You're welcome, glad it helped.
This discussion is closed. You can start a new discussion or contact Articulate Support.