Need javascript to send completion on SCORM lesson_status
I need help with Captivate 7.0.1.237 - on Windows 7
I don't want to use slides viewed OR quiz score to send a completion to the LMS
I have researched javascript - on the web - and the best I can come up with is shown below
var CaptivateObj = document.Captivate;
g_objAPI.LMSSetValue('cmi.core.lesson_status', 'completed');
g_objAPI.LMSCommit('');
g_objAPI.LMSFinish('');
I have tried setting the script to Top, parent, current, new - and have tested a TEST Captivate SCORM package on SCORM Cloud
I have created a simple 5 slide package - with the javascript executing ON EXIT for slide 2 - on slide 3 I have an exit button
IT doesn't work - that is, it doesn't send a completion
I can send the sample Captivate file with the embedded javascript if that would help
Phil Camillo
