Change State of the Next Button when Objects/Layers Visited

Apr 17, 2020

Hi

I have read all the articles on this and I still cannot get this to work! I have spent hours on it and now I just want it to work and move on.

Can anyone help me with this please?

M

11 Replies
Walt Hamilton

"Change state when state of ... is ... " is pretty iffy, especially if you visit other slides. Sometimes it works, and sometimes it doesn't. If you want to be absolutely certain, you need to take matters in your own hands. Here is a sample that does this absolutely every time. The Free, Mixed, and Restricted Navigation all jump to the same slides from the menu slide, and when they return show a visited state. Free allows the Next button to be showing always, while Mixed and Restricted only allow it to show after all sections are visited.

https://community.articulate.com/discussions/articulate-storyline/free-sample-restricted-and-free-random-navigation-using-variables-and-triggers

Ned Whiteley

Hi M,

In the attached example, I have Disabled the Next button when the timeline starts for the first slide and then changed its state to Normal when the state of each of the Layer buttons on the Base Layer is Visited. In this case I have used three layers. The layers can be visited in any order and as often as you want, however the Next button will only become available once each layer has been visited at least once.

The Visited state is a built-in state in Storyline and so requires no triggers to be set. Once you click on the button, the Visited state will be automatically recognised by the system.

I have also set the When Revisiting option in the slide properties for the first slide to "Reset to Initial State" so that everything resets whenever the user returns to the slide.

 

Hope this is what you are after, but if you have any queries about what I have done, just get back to me here.

Wendy Farmer

Hi J&l Training

your text boxes don't have a 'visited' state that is why the 'visited' in the trigger is coloured yellow to indicate an issue

When a visited state is added

I also updated the triggers on the layers to be hide layer when the user clicks rather than jump to slide - the jump to slide is resetting the text box shapes each time.

Hope this helps

Rizwan Kalair

Hi. I'm starting with a next button disabled. I want to change its state to normal after 2 shapes on the slide have been visited. I have added the visit states to these 2 rectangle shapes. These 2 rectangle shapes takes the user to different slides.  

The 2 rectangles takes the user to other slides. The idea is for the user to go through the 2 cases and then to come back to the cases slide before moving on further. Once both cases have been visited, the next button is SUPPOSED to change its state to normal, but it doesn't. I tried this with buttons first and it didn't work. My attachment uses shapes with states. 

Is it possible in SL360 to change the state of the next button if the objects on the slide are taking the user to other slides? 

Walt Hamilton

Not by using Visited state and going to different slides. When you return to the main slide there is no action to initiate the trigger to change the state of Normal. You can have the main slide reset to initial state, and that way the timeline starts over, and you can use that action to initiate the trigger. Except if you restart the slide to initial state, then the rectangles lose their visited state.

The sample at https://community.articulate.com/discussions/articulate-storyline/free-sample-restricted-and-free-random-navigation-using-variables-and-triggers does what you are asking, except you will have to change the triggers from changing the state of the exit object to changing the state of Next button. See my previous post here for a more complete explanation.