Forum Discussion
Change State of Button When Pass Test
- 12 days ago
Your trigger on 1.1 that tries to change the state of the Play Button to Visited fires when the .ScorePercent variable changes, but the trigger is only "listening" for that on the slide the trigger's hosted on. When the learner navigates to 2.1 and 2.2, the Score might change but that state-change trigger is no longer active because we're no longer on the slide where it lives.
Then when the learner returns to 1.1 after scoring 100%, the slide (re)loads and the trigger becomes active again, but the Score variable doesn't change after 1.1 loads so the trigger doesn't fire and the state doesn't change. If you change the trigger to
Then the trigger will check the value every time the slide loads, and returning with a score of 100 will then be checked and confirmed.
Your trigger on 1.1 that tries to change the state of the Play Button to Visited fires when the .ScorePercent variable changes, but the trigger is only "listening" for that on the slide the trigger's hosted on. When the learner navigates to 2.1 and 2.2, the Score might change but that state-change trigger is no longer active because we're no longer on the slide where it lives.
Then when the learner returns to 1.1 after scoring 100%, the slide (re)loads and the trigger becomes active again, but the Score variable doesn't change after 1.1 loads so the trigger doesn't fire and the state doesn't change. If you change the trigger to
Then the trigger will check the value every time the slide loads, and returning with a score of 100 will then be checked and confirmed.
Related Content
- 1 year ago
- 9 months ago
- 5 months ago