Forum Discussion

RonaldFeldman's avatar
RonaldFeldman
Community Member
2 months ago

Triggering Navigation with Variable "question.correct"

I am trying to have a hidden "next" button appear only after a quiz is completed correctly, by using the question.correct variable to change the state from hidden to normal. It works great, but when I have two quiz slides in a row, the "next" button on the second slide is not hidden when I click over to it, even thought its initial state is set as hidden. This is happening in multiple instances in the same project.

  • Thank you for the response. This wasn't exactly the issue I was experiencing but your demo helped me understand what I needed to do differently. Much appreciated!

  • Nedim's avatar
    Nedim
    Community Member

    I believe the issue lies in how your triggers are set up. The built-in variable Question.Correct will reset to false when moving to the next quiz question, even if it was true on the previous question. To resolve the issue, try setting the Next button’s initial state to Hidden and configure the triggers as follows:

    Attached is a short video demonstrating that this interaction works as intended.