Variables cleared from button click, but showing up again on course re-launch?

Oct 13, 2015

I have numerous data entry fields in my course. I have set up a button that clears these variables/fields when it is clicked. That works great. The problem: when the course is exited and re-launched, the text fields are populated again with the information that was typed in before it was cleared by clicking the button. I have tried everything from setting up triggers that clears each variable separately, to javascript.  for example:

player.SetVar("zzJournalConclusion", " ");

 

I can get the text fields to clear properly, but they won't stay blank when the course is re-launched. This is published for LMS, including HTML5 output. Any help would be greatly appreciated!!!

 

3 Replies
Brian Allen

The only way you may get this to work would be to set your course to not resume in the LMS.  Then your resume data will not get stored in the LMS on course exit.  If your course is sending resume data to the LMS after every slide or two, then clearing your variables at the end of the course may not wipe out the resume data already stored.

Just brainstorming though, as I've not tested anything like this...

This discussion is closed. You can start a new discussion or contact Articulate Support.