Forum Discussion
Flagging assessment questions to return to
We have an assessment we use as an aptitude test for basic electrical knowledge. There are 60 questions, and it is timed. We've had several suggestions for this assessment (and others) that we add functionality to flag the question to come back to later. Have any of you found a way to make this work? I was thinking it would have to include a set of variables, but I have only basic knowledge of variables.
Thanks in advance for any help you can provide!
- BridgetODellCommunity Member
Hi Angie,
You should be able to do this with variables.
First, create a True/False variable for each question (1-60) with a default value of False. I recommend naming each variable according to its question. Example: Question1, Question2, etc. These can be created from the Variable Manager.
On each question slide, add a trigger to set the corresponding variable equal to True when the user clicks the submit button. Ensure it's ordered as the first trigger that's executed on the Submit button by moving it up to the top. Example on Question 1 Slide: Set Question 1 to True when user clicks Submit.
Also on each question slide, add a "Skip" button. On this button, add a trigger to go to the next question with the condition of that question's variable is false. Example on Question 1 Slide: Jump to Slide Question 2 When User Clicks Skip Button if Question2 = False.
Copy that trigger and paste it on the Continue button on both the Incorrect and Correct Feedback layers for each slide. Ensure you delete the default "Jump to next slide" trigger on this button. So it's triggers will be: Hide this layer, Jump to Next Slide.
Also on each slide, add a trigger to jump to the next slide when the timeline starts on the slide if the variable of that question is set to true and the variable of the next question is set to false. Example On Question 1 Slide: Jump to Slide Question 2 When Timeline Starts on this slide if Question1 = True and Question2 = False.
For this to work, edit the properties of each slide and ensure the "When Revisiting" Setting is set to "Reset to Initial State".
Finally, in addition to all above triggers, on the last question slide (question 60) edit the Skip and Continue button triggers to return the user to Question 1 if any of the variables are set to False. Example: Jump to Slide Question 1 When user clicks Continue if Question1 = False or Question2 = False. Ensure the conditions are set to OR instead of AND.
Also on the Continue buttons on the last question, add a trigger to take the user to the results slide if all of the variables are set to True. Example: Jump to Slide Results Slide When user clicks Continue button if Question1 = True and Question2 = True. Ensure the conditions are set to AND instead of OR.
Hope this helps! Difficult to explain complex variable programming over comments :)