Showing passed questions again

Oct 10, 2023

Hello everyone!

I'm working on a final test and my client asked me the possibility to pass a question that will be shown again at the end of the test. I guess it is with  multiple variables; but it is a 100 question test and I can't imagine setting 100 variables... so I beg you, tell me if you have better ideas, thank you!

Also, I know some people will open the story file to change things and I don't want the system break down in case they do a mistake. So I'm looking for something super simple.

I may have to set 10 tests this way, with variable number of questions, each with a peculiar ID.

I'll be glad to hear from you if you've already encountered the problem.

Thanks a lot,

Veronique.

7 Replies
OWEN HOLT

The variable route is one way to go. Another way would be to use an object on or off-screen and change its state based on whether the answer to the question was correct or incorrect.
When revisiting, you either show or skip the question based on the state of the item. 
...and while that seems simple enough, it isn't quite because you will have to preserve the final state of the slide, but have some trigger to determine whether to skip it or not. This probably also means having layer involved that is reset on revisiting to initial state.

The point is, it can be done without variables, but it might be just as painful to set up. Reach out to me on LinkedIn if you want to discuss it further, we can set up a call.

Véronique Calais

Hi Owen,

Thank you so much for your answer.

Your solution is based on correct/incorrect answer, but I would like to base my test on answered/unanswered question.

Learners take the test with 4 question banks (possible to put the questions in simple scenes however) and they must have the possibility to press a "Skip question" button for example.

The Skip question button is easy to put in place.

But how may I show the unanswered questions up when they have been skipped?

I want to use slide master, so mistakes would be harder to make for my colleagues when modifying the tests.

OWEN HOLT

Got it. You could do this with JavaScript and by storing an Array as a text variable in Storline. 
When the user skips a question, you would execute JavaScript to pull the Array and the question number from Storyline, convert the array from text to numeric, append the array by adding the question number to the end, and sending it back to Storyline as an updated value in the Storyline Array variable.

Next, on review of skipped questions, you will do the opposite. On trigger (probably a next button click) execute Javascript to pull the Array from Storyline, isolate the first value in the array and separate it into its own variable (removing it from the array), the sending the updated array and question number back to Storyline. You can use the question number retrieved from JavaScript to guide the navigation to the question that should be reviewed.