Captivate 3 Quizzes marking "failed" when quiz is not completed
April 11, 2008
Captivate | Docent 6.5 | Elearning | SCORM

We use Captivate 3 quizzes sometimes with our Docent 6.5 LMS. Usually the quizzes have multiple parts or "SCOs" but occasionally we build one that has only one part.

Sometimes people launch a quiz but need to quit before they are done taking it, and in such cases we would prefer it be marked "incomplete" and allow them another chance to take the quiz. Usually we would also prefer any failed quiz to be allowed to be retaken.

But, by default, Captivate sees any failure to reach the mastery score as completions.

There is an easy fix,
suggested by Franck Buland on the Adobe Captivate forums

- simply modify the [project].htm file at lines 95, 96, 97.


Ads by Google

Posted by ellen at April 11, 2008 11:40 AM

Change this:

} else if ( strFSCmd == "LMSSetValue" || strFSCmd=="SetValue") {
strErr = eval('g_objAPI.' + strFSCmd + '(\"' + strFSArg1 + '\",\"' + strFSArg2 + '\");');
CaptivateObj.SetVariable(strFSArg3, strErr);

to this:

} else if ( strFSCmd == "LMSSetValue" || strFSCmd=="SetValue") {
if (strFSArg1=="cmi.core.lesson_status") {
if (strFSArg2 == "failed") strFSArg2 ="incomplete";
}

strErr = eval('g_objAPI.' + strFSCmd + '(\"' + strFSArg1 + '\",\"' + strFSArg2 + '\");');
CaptivateObj.SetVariable(strFSArg3, strErr);

The bold text is what is inserted. It tests the value of what the captivate quiz is sending for cmi.core.lesson_status. If it is failed, it is changed to "incomplete".


Ads by Google


Ads by Google

 RSS   |   Contact Me


Ads by Google