Captivate classic Inbuilt TOC + Next Button issue after refresh/revisit in LMS
Hello everyone, I’m running into a weird issue in Captivate 2019 with Next buttons, TOC lock/unlock, and scrub bar disable when publishing to my LMS (uLearn).
On Slide 1, On Enter I:
Execute JavaScript to disable the scrub bar
Assign SlideVisited = 1 and SlideFullyVisited = 0
Hide the Next button
On Exit, I assign SlideFullyVisited = 1.
I also lock the inbuilt TOC at the start and unlock it on the last slide.
This works fine the first time. But when I refresh the course or revisit it:
The scrub bar and Next buttons look enabled at first
As soon as I go back to Slide 1, the Next button disables again, and it cascades → all my Next buttons on later slides stop working
If I avoid going back to Slide 1, everything else works fine.
Can anyone help me with it? I have enabled self-paced learning, Unchecked never send resume data, and allow backtracking is enabled.
I realized Slide 1 is re-running the On Enter script every time, resetting variables, and hiding the button
These are my shared and advanced function conditions
Slide 1
Execute JavaScript → disable scrub bar (current)
Lock TOC
Tab 1 → SlideVisited check (On Enter)
IF SlideVisited == 0
Execute JavaScript → disable scrub bar
Assign SlideVisited = 1
Assign SlideFullyVisited = 0
Hide Next Button
Continue
Tab 2 → SlideFullyVisited check (On Enter)
IF SlideFullyVisited == 0
Hide Next Button
ELSE
Show Next Button
On Exit (for the slide)
Assign SlideFullyVisited = 1
Lock TOC
Last slide on exit
Unlock TOC
