Skip to main content
Marko Stojkovski
Known Participant
May 11, 2017
Question

Skip a qestion slide while reviewing.

  • May 11, 2017
  • 1 reply
  • 242 views

Working on a project recently, I Had a problem where user had to move thorough the course (with back and next buttons), but the course got stuck on a question slide thats already been answered. I have solved that with variable for each question (question1, question2 ...) and when the user opens the question slide to answer it the value of question1 changes from 0 to 1 and the slide before question has advanced action if question1 = 0 jump to question slide, else jump to the slide after the question slide. This have solved my problem and the user jumps the question slide while going back and forward.
But, when I upload the course on LMS and then I complete the whole course, next time I come back the LMS remembers it as complete, but the course does not remembers the values of question variables they are all 0 as their default value and I got stuck on the question slides again.
Generally, I think I have two questions for solving this problem:

1. Is there a way to store the variables in the lms as well as the course is stored (lms remembers that I have finished the course and it's not restarting it)?
2. Is there a way to set up the course to be restarted each time it is played on the LMS?

This topic has been closed for replies.

1 reply

RodWard
Community Expert
Community Expert
May 12, 2017

1. Yes there are ways to store the variables between sessions.  Some LMSs do this by default but not all.  It appears yours does not.  If your content is SWF, then there have been widgets that allowed you to do this but those widgets are no longer available.  You might need to resort to JavaScript coding to store the variables in the web browser's Local Storage and then have more JavaScript code to fish out the values again on relaunch.  If your content is HTML5, then the CpExtra widget from Infosemantics makes it very easy to persist variables between course sessions:

http://www.infosemantics.com.au/adobe-captivate-widgets/cpextra/help/data-persistence

2: This is something you need to check with your LMS Administrator. It's not controlled by the Captivate module.

Marko Stojkovski
Known Participant
May 12, 2017

Thank you very much. The CpExtra widget stores variables in local and session storage, right? This is solving the problem, but only while the browser is open, if I try to come back on the course after one day, the variable will not be kept, right? If that's the case, it is not helping me much, because I was thinking to avoid questions all the time once you answer them.
Is there some system variable in Cp that remembers if the course is completed or not so I can work with it, for example, if CpCourseCompleted = True assign question1, question2, question3 with 1?
If not, can somebody tell me how some of you have handled similar problem with already answered questions?
Thanks

Lilybiri
Legend
May 12, 2017

Session storage is cleared when closing browser, not local storage...