Variable Persistence Issue in Articulate Storyline
I'm currently working on a project in Articulate Storyline and have encountered a persistent issue related to variable handling. I've extensively used JavaScript to manage a variable called "TimeDisplay_1," associated with a textbox on Slide 1.
The issue arises when navigating between slides. Upon returning to Slide 1, the textbox displays two values: the old value when leaving the slide and the initial value (00:00) that continues incrementally. Despite attempting to reset the variable on timeline start and clear the old entry using JavaScript triggers, the problem persists.
I have explored various solutions, including resetting the variable explicitly with JavaScript, but to no avail. The objective is to prevent the accumulation of old values and ensure the textbox starts fresh on each visit to Slide 1.
If anyone has encountered a similar challenge or has insights into resolving this issue, I would greatly appreciate your expertise. Additionally, any guidance on best practices for variable management in Articulate Storyline would be invaluable.