Question Locking Breaks When Retrying a Quiz

Feb 07, 2022

I'm testing a proof-of-concept "game" with a series of orders that have steps that need to be completed in sequence. The client wanted the orders randomized, so I created a question bank with all of the questions and linked together all of the steps for each order in the correct sequence. Then I selected the randomize option and chose All for the number of questions. This works well the first time through. The steps in each order are kept together and in sequence. Only the orders are randomized as is the desired behavior.

Then I noticed the orders weren't shuffling again when attempting the "game" again. I wasn't using question slides in the question bank as these are custom interactions with its own type of scoring. Since I wasn't using typical question slides I didn't include a Results slide. I found a post pointing to needing to reset a Results slide to cause the draw slide to redraw questions upon subsequent attempts. So I added a Results slide with a retry button that resets the Results slide and navigates back to the first slide that initializes my variables.

The orders are shuffling again when attempting the "game" again, but the locked questions are all out of order. This seems like a bug where Storyline isn't respecting the question locks after the first time. I'm hoping I'm wrong and just missed something, but if I'm right, I'll have to abandon this approach to doing what the client wants.

The file I've attached has the menu shown to better visualize the sequence of the question draws. I've also removed a significant amount of JavaScript triggers to eliminate any outside factors that might be affecting the course.

3 Replies
Joanne Chen

Hi Greg,

I'll suggest you report the issue of the locked questions being out of order when retrying the quiz. But if you want to achieve what you want sooner, you could divide the questions into three question banks and randomize the order of question banks. Articulate does not have a built-in feature of randomized question banks, but you can add JS code to randomize slides(question banks). You may like to refer to this thread for learning how to ensure random numbers are not re-picked, shared by Owen Holt.

To your case:

  1. Add the JS code when the timeline starts the quiz introduction page(don't forget to add variables in SL that will use)
  2. Three triggers link to different question banks when clicking the Start Button according to the result of the  JS random number. 
  3. Add one more blank slide at the end of each question bank with the same JS code and jump triggers(but trigger by end-timeline than hitting a button). Shorten the timeline frame to a minimum, so users won't see this slide but when the question bank ends, the JS code will random the number again and exclude the picked numbers then jump to the left question bank.
  4. Also, add a trigger to jump to the result slide using the variable Order_C you created. (Order_C=3)

I'd also like to remind you that all the variables you created will need to be set to the default value when clicking the retry button before it jumps back to the beginning page.

Let me know if you need a more detailed explanation,

Kaylyn Milan

I know this thread is a year old, but I have the same problem. I have sets of questions locked together in a slide draw. The learner must retake the quiz if they don't score a certain percentage. When they click the retry button, the results are reset and the learner is redirected back to the slide draw. However, the locked questions aren't always appearing together like they should. Anyone out there have any ideas of how to fix this?