Forum Discussion
Quiz - Score Percent
Hi Harri,
I've done this w/out Javascript, but it does require more triggers. So, depending on the quizzes you have, and the number of questions, you may need to add several triggers.
For the project I'm working on, there are lessons w/ quizzes w/ 3 questions, 4 questions, 5 questions, and 6 questions.
I've created a text variable called percent.
On the results slide, I've placed triggers on the Failure layer that adjust the percent variable = to the rounded number when the timeline starts if the results.score.percent variable = the not rounded number
For example, the 3 question quiz has two triggers
Adjust percent variable = 67 when the timeline starts if Results.ScorePercent = 66.66
Adjust percent variable = 33 when the timeline starts if Results.ScorePercent = 33.33
I've also changed the reference on the Failure layer to the %percent% instead of the default.
Not sure if this will work for you, but it's working for us...the client is happy.