What code can I add to Complete based on SCO's location?
I have a vendor file that does not complete unless KT's are answered correctly. (They are already published and I don't have the source files) I need to know if there is a code I can add to the html that would complete the course if the learner makes it to the last slide entitled "Conclusion". I tried by adding this code : I checked our the SCORM log to identify the slide titles as Conclusion.
var lesson_location = LMSGetValue("cmi.core.lesson_location");
function LastSlide_Finish () {
if(lesson_location=="Conclusion")
{
LMSSetValue("cmi.core.lesson_status", "completed");
}
}
.
