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
Hey Adam! I'm happy to lend a hand! No need to pull any more hair out. 😁
I made a few changes in your file, and now the next button is disabled until all three layers have been viewed. Here's a summary of what I did:
- Add this trigger: Change state of Next button to Disabled when timeline starts.
- Add a "Done" state to each graph on the base layer.
- Add a trigger on each graph: Change state of graph to Done when the mouse hovers over.
- Add a trigger: Change state of Next button to Normal when state of all 3 graphs are "Done."
Check out those changes in your file, and let me know what you think!
- AdamWellsCommunity Member
Hi Alyssa
Thank you very much for your quick kind help with sorting this problem out. It works just nice now.
Hair staying in place :-)
Regards Adam
- WaltHamiltonSuper Hero
Glad to hear it. Thanks for sharing that.
- StephDeckerCommunity Member
I'm trying to do something similar. I have a slide containing 5 buttons. Each button is associated with a layer that contains information for the learner as well as a trigger and state (e.g.: Button 1 --> show layer Information Data when user clicks... and when the learner clicks the state changes to visited). I am trying to keep the Next button hidden until the learner has "visited" each button but the logic I've created doesn't seem to be working. Any thoughts?
Hey, Steph! It sounds like you want to enable the Next button when all of the layer buttons are Visited. I can help with that!
Try this:
- Add a trigger: Change state of Next button to Disabled when the timeline starts on the current slide.
- Be sure all 5 buttons have a Visited state. You do not need any triggers to change the state of the buttons to Visited.
- Add a trigger: Change state of Next button to Normal when the state of all 5 buttons are Visited.
If you need extra help, I'd love to take a look at your file! You can share it publicly here, or send it to me privately by uploading it here.
- StephDeckerCommunity Member
Hi Alyssa!
Thanks so much for your response! I went through the steps you mentioned while previewing the scene and for some reason the next button is still in the Disabled state when all 5 buttons have been visited. I've attached a screen shot showing the list of triggers I have set up. Do you think it has something to do with the order of the triggers? I double checked each button too and all include both a Visited state as well as Normal. This is perplexed me for days! :| I'm hoping once I find the solution, I'll use this as a template going forward haha
Thanks Alyssa!
Steph
Hey again, Steph!
It looks like you replied via email, and your attachment didn't come through.
Instead, click here to open the discussion. Then, click the gray Add Attachment button at the bottom of the reply window. Click Choose File, and select the file from your computer.
I'll be standing by!
- WaltHamiltonSuper Hero
Steph,
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 five or more triggers on a slide.
You need to tie the trigger that changes the state of the NEXT button so some action the user takes, such as clicking a button to close each layer. In that case the trigger would read:
Change state of Next button to Normal when user clicks (Close Layer Button) On Condition that state of Button 1 is visited, AND state of Button is visited, and etc.
If your slide is not set up that way, then you can tie the triggers to the 5 buttons themselves:
First - Show Layer 1 when User clicks Button 1
Second trigger for Button 1: Change state of Next button to Normal when user clicks Button 1 On Condition that state of Button 1 is visited, AND state of Button is visited, and etc.
- StephDeckerCommunity Member
Hi there, Steph!
The triggers in your screenshot look correct. The only oddity I noticed is the location of the "Change state of the Next button to Normal" trigger. That should be under the Slide Triggers heading.
Check out this sample file I put together for you, and use that as a model for your file. Let me know if that helps!
- StephDeckerCommunity Member
Hi Alyssa,
I noticed that too. The trigger sometimes automatically jumps to the bottom when I want to add a new one to Slide Triggers and I'm not sure why.
The file you sent me is exactly what I'm trying to achieve. Do you think part of the issue is that I have mine set up so the learner uses the Previous button to return to slide 1.4 Classifying Data in order to select each subsequent button?
Hi, Steph!
I don't think the Previous button trigger should affect the other triggers in any way. Mind if I take a look at your original Storyline file?
You can share it publicly here, or send it to me privately by uploading it here. I'll delete it when I'm done troubleshooting.
Related Content
- 10 months ago
- 12 months ago