Forum Discussion
Change State based on Variables
I have a custom menu slide with three buttons inserted that are given a visited state. There is a trigger for each button to jump to specific slides when the user clicks on it. I created true/false variables for each slide to turn to true when the user clicks the next button that appears at the end of each. After each one changes to true, there is a second trigger to take them back to the menu, in that order.
On the main menu, my trigger is to "set the state of *button* to visited when the timeline starts on this slide IF the assigned variable = True." Yet, the state is not changing.
I would like to add when I click on each button the visited state appears quickly before going to the slide but then doesn't remain when it's returned. If my trigger is to have it change to visited when a variable changes, why is it changing when clicked but not remaining when the variable has changed?
- JudyNolletSuper Hero
Visited is a built-in state. That means it comes with built-in functionality. A button with a Normal and a Visited state will automatically change to Visited when it is clicked. Triggers that try to override or duplicate that functionality often cause problems.
- If the user is only viewing one slide, then there's no need for any triggers or variables. Simply let the built-in functionality change the custom-menu buttons to Visited when they are clicked.
- This post has more info about built-in states: PRIMER: Take advantage of built-in states - Articulate Storyline Discussions - E-Learning Heroes
- If you want to ensure the user views an entire section, then it makes sense to use T/F variables to track completion of each section. However, instead of using a Visited state on the custom-menu buttons, use a custom state instead.
- This post has more info about custom-menu slides, as well as a demo file: TIP: Create a Custom Menu Slide - Articulate Storyline Discussions - E-Learning Heroes
- If the user is only viewing one slide, then there's no need for any triggers or variables. Simply let the built-in functionality change the custom-menu buttons to Visited when they are clicked.
- RonPricePartner
Hey Alicia,
Can you share your story?
- WaltHamiltonSuper HeroThis discussion has a sample that will illustrate Judy's last suggestion, which is probably the best idea.The Restricted Navigation does not show the link to the next section until the previous section has been viewed. The Mixed Navigation allows the various sections to be visited in any order, but does not allow going to the End until all sections have been viewed. The Free Navigation allows the sections to be visited in any order, and the End to be visited at any time.