Forum Discussion
Hide Next button until objects have been visited
I'm trying to set one of my elearning slides so that the Next button (on the player) doesn't appear until four objects on the slide have been visited. Any help would be appreciated.
Thanks
Michelle
51 Replies
- WaltHamiltonSuper Hero
Change the trigger that sets Next to normal.
I know when you use the wizard that "State of..." is one of the options for the When part of the trigger, but it doesn't work. There is nothing to make it happen. States do not initiate triggers. They are very useful in conditions.
Write your trigger to change Next to Normal when the timeline starts if all those objects are in their desired state.
FWIW: You do not need to write a trigger to set the state to Visited, the built-in visited state does that for you. That said, "Visited" state is not always stable, especially if you visit other slides, and especially if they have branching on them. I prefer to use a custom state, like "Completed". If you do that, then you will need a trigger to set it.
- NicoleKelschCommunity Member
Write your trigger to change Next to Normal when the timeline starts if all those objects are in their desired state.
THIS!! This just wrapped up HOURS of trying to find a solution to my next button not returning to normal after a series of scenes had been visited. Somebody give Walt a raise. :)
- WendyFarmerSuper Hero
I second that NIcole :-)
- LisaWardCommunity Member
THANK YOU, THANK YOU, THANK YOU!! It worked!
- CindyGlenn-6a6dCommunity Member
Walt,
Thank you, thank you , thank you!.that did it!
- RickPechous-75fCommunity Member
Hey everyone! I'm having a hard time figuring out how to get this to work with SL3.
Pretty simple Click & Reveal slide. I want the "Next" button to appear only after the user has clicked on all four of the boxes.
Added triggers for each box "Change state of [box #] to Selected when user clicks."
Added trigger to Next button "Change state of next button to Normal when state of [all boxes] are Selected"
and yet it doesn't work.
I'm obviously missing something... attached file for some help.
Thanks!
- WaltHamiltonSuper Hero
Added triggers for each box "Change state of [box #] to Selected when user clicks."
Don't. All objects that have a selected state have built-in magic that changes their state to Selected when you click it, and back to Normal when you click again. The same goes for Hover, and the other built-in states. Creating your own triggers to do the same thing will only confuse SL, and a confused SL will often create some incredible, unbelievable, but seldom useful results.
I know when you use the wizard that "State of..." is one of the options for the When part of the trigger, but it doesn't work. There is nothing to make it happen. States do not initiate triggers. They are very useful in conditions. This is a known bug that doesn't work if there are more than five triggers on a slide.
The trigger you need is "Change state of Next to Normal When user clicks Box1 on condition state of Box2 is Selected, AND state of Box3 is Selected AND ... etc. "
You need one of these for each box.
- AmieLongCommunity Member
Hey Walt,
You seem to be the guru of resolving this issue. I'm running into the same problem. I have a slide with 6 buttons that branch out then circle back to the original "menu slide". I want to disable the next button until all of the branches have been completed.
I thought I had tried all of the solutions above but it's just not working. I'm still fairly new to Storyline (about 6 months using it). I have attached my file here....any help would be greatly appreciated!
Amie
Hi Amie! Thanks for sharing your project file. You've done a really good job so far, and this setup is one of the most common challenges that designers face. Since you had all the foundations in place, it was really easy for me to make a few changes to get it working.
- First, I eliminated all the triggers to change those shapes on slide 1.2 to Visited. Because Visited is a built-in state, you don't have to do any work to trigger it! Storyline does it for you.
- Next, I added a condition to the trigger to change the state of the next button to disabled. As it was, that trigger was going to fire when the timeline started no matter what. I added the condition of "if
Slide2Completeis equal to False." - I changed the trigger to set "
Slide2Completeequal to true" just a bit. Instead of adjusting it "when the state of 2, 3, 4, etc" are Visited, I made the action "When user clicks Rectangle 7." The user clicking is a more reliable action than a state changing.
Then, I added the conditions of "If the state of Rectangle 2 is equal to Visited," and the same for the rest of the rectangles. I didn't include Rectangle 7 in the conditions since you'll be clicking on it anyway. - Finally, I moved that trigger above the trigger to jump to slide 7.1. If you jump to slide 7.1 first, the trigger to adjust the variable to true won't ever fire.
I'm attaching the modified file so you can see exactly how it looks and so you can give it a test! Let me know how that works for you.
- AmieLongCommunity Member
Hey Crystal! Thanks for getting back to me!
This works great when I utilize the jump boxes you added. When I go through as a learner would starting with rectangle 7 the "next" button never enables? (Watch the video and answer the questions). At least it doesn't work in the preview offered by storyline?
I'm wondering if I should use this but guide the learner through by numbering the sections so they click on the final section last.
It seems to have an issue with my idea of allowing the learning to choose the sections in any order they'd like.
Amie
Hey Amie,
Good catch! We can certainly switch the triggers to when the timeline starts on this slide, which will allow the learner to navigate in any order as you mentioned.
Check out your updated file attached.
- AmieLongCommunity Member
This worked beautifully! Thank you so much!!!
So glad to hear it Amie :) Thanks for confirming!
- AdamWellsCommunity Member
Hi everyone,
Please can you help me keep my hair (mostly gone anyway!)
I am trying to disable or hide the NEXT button until three objects have been visited (actually hovered over) using SL3. These objects are just pictures that appear at the end of the slide and open a layer for a closer look when hovered over. I have tried so many things and got totally confused (sorry).
I have attached the one slide from the elearning for some kind person to help me understand how to do it.
I look forward to your advice.
Kindest Regards
Adam
Related Content
- 10 months ago
- 12 months ago