Forum Discussion
How to set quiz slide/s in navigation incomplete if learner has not answered question
It’s only doable with the help of JavaScript. This has nothing to do with the built-in Storyline variables. If you share your file or a simplified version of your original file, I’ll be happy to assist you further.
- CiaranWhelan-2a5 months agoCommunity Member
Thanks Nedim,
I was hoping there would have been an inbuilt way using the triggers. I will upload the test exam here.
- Nedim5 months agoCommunity Member
Sorry for the delayed response. I'm not as active in this community as I used to be.
Please find the attached Storyline file and let me know if it works as intended for you.
I've added the main JavaScript functionality in an Execute JavaScript trigger on the Slide Master. Then, on each question slide, I call a single function when the user clicks the Next button — under the condition that at least one radio button is selected.
Additionally, I included a trigger on each question slide to hide the warning message once any radio button has been selected.
Let me know if you need further clarification on how the JavaScript works. In short, it tracks the current slide using a custom variable "slideID" I've added to the project. This ensures that tick marks are only activated for "visited" slides where the JavaScript is called, and remain hidden on all others.
- CiaranWhelan-2a5 months agoCommunity Member
Thank you very much Nedim for looking at this. I assume that I will need to add this to each of the quiz questions in the question bank as well? In these exams, I will have a bank of 120 questions and then pull questions automatically from 3 categories.