Quiz not working as expected

Sep 28, 2021

Hello and thanks in advance for any help,

Attached is a quiz portion of a course that I am building.  The learners have to answer 6 questions and get an 80% or better to pass.

There is a main page (slide 1.3) that shows the results of each question answered.  There is also a pass or fail slide.

The learner clicks on a question on the main page (1.3) and it opens the question in a lightbox slide.  If they get the question correct, a variable called quizscore adds 16 or 17 to its total.  

The main page should reflect if the answer was correct or incorrect by changing the state of the question (box) that was clicked.  

Once all of the questions are visited a continue button should appear and when clicked it should take the learner to the pass or fail slide based on the value of the quizscore variable. 

Lastly, I would like the main page (1.3) to reset if the learner fails and clicks the repeat quiz button on slide 1.11.

Short version... it ain't working completely.  I can't figure out what I have done wrong.

I am also curious as to why Storyline seems to add player triggers for submit without a button. I have to create my own submit button and then cannot delete the extra trigger.

 

2 Replies
Maria Costa-Stienstra

Hello, A.H.

Thank you for sharing your .story file!

The main page should reflect if the answer was correct or incorrect by changing the state of the question (box) that was clicked.  

The triggers that check if the answer is correct or incorrect are connected to when the timeline starts. The issue is that, since you're using lightboxes, the timeline doesn't re-start after the first time, so Storyline is not checking those variables. Instead, let's change them to when the variable changes. 

Windows 10 (1) 2021-09-29 at 10.58.40 AM

Once all of the questions are visited a continue button should appear and when clicked it should take the learner to the pass or fail slide based on the value of the quizscore variable. 

My suggestion is to make the button's initial state hidden, then add a trigger to change it to Normal once the questions are visited.

Windows 10 (1) 2021-09-29 at 11.05.26 AM

Lastly, I would like the main page (1.3) to reset if the learner fails and clicks the repeat quiz button on slide 1.11.

Since you don't have a Results slide, you can't reset it automatically. Can you convert your slides 1.10/1.11 to a Results slide, so you can have the ability to reset the results? 

I am also curious as to why Storyline seems to add player triggers for submit without a button. I have to create my own submit button and then cannot delete the extra trigger.

You can unselect the Submit button from the Slide Properties on your question slides, which will also delete the trigger.

Screen Recording 2021-09-29 at 11.10.32 AM

Let me know if this helps!