Forum Discussion
Numbering Quiz Questions in Storyline
Hey, Everyone,
We have a final assessment at the end of our course and I am wondering if it is possible to number the quiz questions so the person knows where they are at and how many questions they have left to go?
Thank you,
Kate
87 Replies
- YakiGordonCommunity Member
I have solved it by simply put a trigger on the result slide to adjust varSlideNumbering to 0 when timeline start
- BrettRockwoodCommunity Member
I was thinking about this for a bit and thought it should be pretty straightforward and would give it a try. Here's what I did:
- Created a number variable called QuestionCount at set the default value to 0.
- Added a slide trigger on each question slide that adjust the variable QuestionCount to +Add, Value 1 when the timeline starts
- To display the numbering I entered "Question %QuestionCount% of X" where X is the number of questions pulled from the pool on each question slide.
- On the results slide I put a trigger on the Review Quiz button to set the variable QuestionCount to 0. This causes the review to restart the numbering again from 1 because when the timeline begins on the review pass of the first question it will automatically be reset to 1 because of step 2 above.
Seems to work properly for me.
- RogerCorpasCommunity Member
Yaki...your idea is simple and would work too. I like it.
Brett...I did something like you describe.
My reply was also about what happens when you click the back button while you are reviewing. Let's say...you go to question 1 after selecting the review button...then you go to question 1, 2, 3 but then you want to go back.
I am not sure if you had this same problem but I could only make it work going back in the way I described.
If you have any thoughts about this, I would be happy to give them a try.
- HeinrichBartieCommunity Member
I share Roger's frustration here. The review section is what seems to throw this concept for a loop. I didnt even consider resetting the variable back to 0 when the review page launches, so that will take care of that issue for me, thanks guys.
The problem I'm sitting with like Roger is when you start using the back button while in review. Because the trigger is based on "when timeline starts" you end up with the question count variable being fired again when you use the back button in the review pages. So you ultimately end up with something that looks like "Question 43 of 30".
I've tried to set the variable to update +1 when the user clicks the next button, and subtract 1 when they click the back button, but this caused even more weird behaviour. I would end up with a situation where the count would not update at all (so it would remain on zero) and would only start incrementing the variable when I reached the last question in storyline preview mode. When you're previewing say 10 questions in a quiz, only once i get to question 10, and then click the next nav button the variable would start incrementing. At this stage in the preview mode there in no next question to go to, so the next button doesnt lead anywhere, but the variable starts increasing! Very strange indeed.
I have not tried this by publishing the quiz properly, so i'm not sure if this might just be a glitch in the preview mode. I will give it a try sometime and let you guys know.
If anyone finds a nice solution, share it please
- RogerCorpasCommunity Member
Hi Heinrich,
Try substracting 2 when you click the back button instead of one and it should work. There must be a better way, though.
Please let us know if you find one....
- KateLeifheitCommunity Member
I experienced the same problem, but then I chose to use the following triggers to the question master slide which fixed it.
Master Slide:
1) Add 1 when user clicks next
2) Subtract 1 when user clicks previous
3) Jump to the previous slide when user clicks previous
On the normal slide view for my one question that is outside the quizbank:
1) Add 1 when user clicks submit
And then on the "Review" button, there is a trigger to equal 1 when clicked.
Let me know if it works for you as well!
Thanks, Kate
- RogerCorpasCommunity Member
Hi Kate,
You nailed it!!!. I knew there was a better solution than mine....
I think what I am doing is still a bit different.
1. I do not have any slides outside of the bank. I set the variable to 1 in the instructions. I show the instructions each time a learner wants to retry the quiz.
Just on the side...I am thinking that it might also be possible to set the variable to 1 in the first question, regardless of the question chosen from the pool. The trigger could be set to add +1 to question count variable when timeline starts if this same variable is 0.
2. Given than I am provinding feedback on each question, I added the trigger to the "Continue" button in the feedback master, instead of the submit button.
These are just minor differences...the result is the same.
Thank you again for your help finding a simpler and more elegant solution to this problem.
Roger
- YakiGordonCommunity Member
Here is how i set it finally.
1. In Slide Master> Question layout
-Add "Question %varQuestionNo% of X
-Add trigger "Add 1 to varQuestionNo when timeline starts"
-Add trigger "Subtract 1 from varQuestionNo when user click Previous button If varQuestionNo greater than 1" (otherwise the number will keep going down to 0 and -)
2. In Results slide
- Add trigger"set varQuestionNo equal to 0 when user click" for both the Retry and Review buttons
- JoeCountrymanCommunity Member
Thank you everyone that posted in this thread! This helped me immensely. You are all true e-Learning heroes.
- GrahamFoxCommunity Member
Similar solution here. Variable that starts at 1. 1 is added to it when they hit continue after a success or failure. Text at the bottom right that tracks the number for them. Variable get's a reset if they click retake quiz.
Related Content
- 10 months ago