Setting a custom completion for a module

Dec 03, 2015

Hi everybody, 

I am trying to set a "custom completion" for all our modules; we want to set a trigger that forces the LMS to consider the module completed at the 60% of the course (in case we have learners in a hurry or inattentive learners - so we can still get them to attempt the evaluation).

What I have been doing so far is inserting this trigger on slide that marks 60% of the course and every other slide after that:

Action: Execute Javascript

Script: parent.SCORM_SetCompleted();

When: Timeline Starts

However, this method does not seem to be working. If anyone else has other methods of doing this, please let me know. 

Thank you for your help in advance. 




6 Replies
Matthew Bibby

Here is the code from the article I linked to above:

//get LMS API
var lmsAPI = parent;
//set score; the first number is the score
lmsAPI.SetScore(100, 100, 0);
//set status; possible values: "completed","incomplete", "failed", "passed"

You'll need to set up your course in such a way that the inbuilt Number of Slides tracking doesn't interfere. The easiest way to do this is to add a new slide to your course, change it so it can't be accessed (i.e. no Go to Next Slide triggers pointing to it etc.) and then change the Number of Slides value to the maximum amount. This means that the only way for the module to be marked complete is by the above JavaScript as there will be no possible way for the user to access all of the slides. 

Let me know if this doesn't make sense. Thanks.

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