Forum Discussion

CiaranWhelan-2a's avatar
CiaranWhelan-2a
Community Member
16 days ago

How to set quiz slide/s in navigation incomplete if learner has not answered question

I have a graded quiz in a course, and I want to hide the tick icon in the navigation if a learner has not yet answered a quiz question. This way the learner can see in the 60 questions which one they need to revisit. I have looked at variables, but am unsure which built in variable in the list to use and unsure of the value to use.

Can someone please point me in the right direction for this please. 🧐

 

 

7 Replies

  • Nedim's avatar
    Nedim
    Community Member

    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.

      • Nedim's avatar
        Nedim
        Community 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.