Forum Discussion
Disable Button until Quiz Passed
Hi all,
I have a Menu screen with 4 buttons that link to new modules. My client has requested that each module be locked until the quiz is passed. Can someone help with the variables and triggers I need to enable a disabled button when the quiz is passed?
The Trigger link should should not work until the passmark is reached. I've attached a VERY basic storyline file so you can see what I mean..
Sorry if this has been posted already, I couldn't find this information anywhere.
Thanks again...
Natalie.
- NandiniNKCommunity Member
Hi Natalie
Check the .story file attached. The menu buttons can be disabled by use of triggers.
Feel free to ask in case of doubt.
- NatalieVan-DoreCommunity Member
Yes! Thank you so much! I just couldn't get my head around this today. Thanks Dipti. :o)
Awesome! Glad Dipti was able to help you out here Natalie
- RaelanAgleCommunity Member
How is it possible to do this? I need to do this as well. Apologies, I don't see the instructions here anyplace :)
Hi Raelan,
I'm not sure if you took a look at the sample file shared above, but digging into that explains how to set it up.
Here's a quick Peek 360 video to explain how to dig into the file to understand how it was created, and the file is attached again for you.
- StephanieJohnseCommunity Member
can you do this using conditional triggers on a layer for a button?
example: Quiz has 2 times to pass, but on the 1st failure (results layer) I do not want them to be able to print results until the 2nd failure result
Hi Stephanie,
You can control when a button will appear on your slides using a combination of triggers and variables. Here's a helpful article which explains how to create conditional interactivity in Storyline 360.
For your specific case, although there are different approaches that can be taken, here's how I'd design your quiz to achieve the desired effect:
- Add an 'attempts' variable that tracks the number of attempts taken by the learner
- Set the 'Print Results' button's initial state to hidden
- Make the 'Print Results' button visible when the slide loads on the condition that the value of the attempts variable is greater than 2
I've attached a demo file so you can check out how I implemented the steps above to an actual project file.
Hope this helps!
- KarenByrnesCommunity Member
hi there,
We have a scenario where users are registering a failed result before they have availed of all 3 attempts.
In this scenario, where the user has failed all attempts; is there a way to disable/hide the 'register your score' button until the user has availed of all 3 attempts.
But allow the Register your score button to be visible where users have passed the attempt
Thanks in advance,
Karen
Hi Karen,
You can control the visibility of a button using triggers and variables. I've attached a demo file which shows how you can change the visibility of a button from hidden to seen after a certain event occurs 3 times. While not exactly the same scenario, you can implement similar logic in your course, particularly for the buttons that you want to keep hidden until a certain criteria is met.
Let me know if you have any questions!
- KarenByrnesCommunity Member
Thanks for this Joe,
However the scenario that I'm working with is an assessment. Where the user passes the assessment I want them to be able to click the 'Register your Score' button but where the user fails I want them to click the 'Retry' button and not see the 'Register Your Score' button until they have availed of all 3 attempts to pass the assessment (where necessary)
If at the end of the 3 attempts the user still fails; then they will have to click the 'Register Your Score' button as all attempts have been availed of so the result and score has to be captured on our LMS.
Thanks in advance,
Karen