Copy link to clipboard
Copied
Our organisation is moving from swf to HTML5 and I noticed that when I publish the projects in HTML5 they behave differently on our MLE. We have a project where the questions are just knowledge checks and don't score. We put 4 marker scores on the Continue buttons at fixed points as the user goes through. So as the user clicks the first scoring button they get 1 point so that's 25%. Once they have clicked all 4 scoring buttons, the course is complete, because it's set to Quiz is passed. Not so in HTML5, because I put a failure caption on the Continue button if the user doesn't click the Continue button but clicks somewhere else, the point isn't awarded to them even when they click it correctly. This then results in an incomplete attempt even though the user gets to the end. So you say, set it to all slides viewed, this isn't a good option for us as it doesn't always work on our MLE and network. There is a time lag and if the user goes too quickly, then the API can't keep up and again the user completes the course but it's still showing incomplete because the fact that the last few slides were actually viewed did not get back to the server.
So I want to use JavaScript to do the tracking. I have had some success in that I can use the following to get the project to complete when the user gets to the last slides. I put the code in an advanced action which triggers on enter.
SCORM_CallLMSSetValue('cmi.core.score.raw', 100);
SCORM_CallLMSSetValue('cmi.core.lesson_status', 'completed');
SCORM_CallLMSCommit();
SCORM_CallLMSFinish();
Earlier on it the project I use
SCORM_CallLMSSetValue('cmi.core.score.min', 0);
SCORM_CallLMSSetValue('cmi.core.score.max', 100);
SCORM_CallLMSSetValue('cmi.core.score.raw', 25);
SCORM_CallLMSCommit();
This sets things up but it doesn't set the score to 25%. I know there are alternatives, such as don't put a failure caption on the Continue button, but it's become a bit of a challenge now. I just want to know why I can set the score to 100% at the end but I can't set it to 25% on the first few slides. Is it because Captivate itself is also controlling the score and so there is a conflict? The JS code to set the score to 100% and status to complete comes after the knowledge check questions and the results slide, is that the answer.
Many thanks for any help you can give me.
Copy link to clipboard
Copied
I would put your course on the SCORM cloud so you can see a log of all of the SCORM calls that are being made. You can then see if CP is overwriting your calls.
My initial thought is that if you are setting up the course completion to quiz is passed, it will never be passed since you aren't using an actual quiz but are using knowledge checks. Is there a reason you don't use the Quiz?
Copy link to clipboard
Copied