Forum Discussion
Adding question counter in quiz bank in Storyline 360
Hello!
I'm working on a project where each learning module has a quiz that will pull from a Quiz Bank. I am looking to add a question counter so the learner knows where they are (i.e. Question x/10, etc). I know it's done through variables, but I'm drawing a blank on how to do it. I have a quiz "intro page" which is outside of the Quiz Bank. There are 9 learning modules in total and each has its own Quiz Bank with varying numbers of questions requires to pass.
Any and all help would be very welcome!
Cheers
Geraldine
- LouiseLindopCommunity Member
Create a numeric variable, eg questioncount. Then, on your question slide master display "Question questioncount/10. Also on the master slide have a trigger that adds 1 to questioncount when the timeline starts.
- GeraldineFol672Community Member
Hi Louise
Thanks so much for the information - it worked! Now my question is, how to I re-set the counter back to 0/8 if the learner fails the quiz and they have to retake it?
Cheers
Geraldine
- GeraldineFol672Community Member
Hi Louise
Thanks so much for the information - it worked! Now my question is, how to I re-set the counter back to 0/8 if the learner fails the quiz and they have to retake it?
Cheers
Geraldine Hi Geraldine,
I see that Louise already shared an excellent solution! I'm happy to chime in and suggest a trigger that will help you reset the questioncount variable when the learner fails and wants to retry the quiz.
In the Failure layer of your Result slide, you can add the trigger shown in the screenshot below. Make sure to move it on top of the Jump to Slide trigger so that it will be executed before the jump.
If you need additional help, we'd be happy to take a look at your Storyline project. You can share it here or privately through a support case. We'll delete it when we're done!