Sending note only if quizz success Jan 28, 2013 By Juanjo Haro Hi, is there any way to send the final note only if the quizz is aproved? My client only wants to have in her SABA the final note when the quizz result is aproved not when suspended. Maybe, using the trigger "submit results" with some condition? Thanks for help
Juanjo Haro Author 11 years ago01/28/13 at 4:09 am (UTC) I've modify the trigger in the Results slides as this: Submit Results when timeline starts if Results.ScorePercent >= 50; Tested in scorm cloud... when i exit the course with only 25%, the note was sends anyway..
Juanjo Haro Author 11 years ago01/28/13 at 6:04 am (UTC) I've modified the scormfunctions.js in this way but i don't know if is correct to do that or there is another less intrussive way // alert("SCORM_SetScore"); Nota_corte = SCORM_CallLMSGetValue("cmi.student_data.mastery_score") // alert("Nota_corte: "+Nota_corte+"intScore: "+intScore+"intMaxScore: "+intMaxScore+"intMinScore: "+intMinScore); if(intScore>=Nota_corte) { blnResult = SCORM_CallLMSSetValue("cmi.core.score.raw", intScore); blnResult = SCORM_CallLMSSetValue("cmi.core.score.max", intMaxScore) && blnResult; blnResult = SCORM_CallLMSSetValue("cmi.core.score.min", intMinScore) && blnResult; WriteToDebug("Returning " + blnResult); return blnResult; }
2 Replies
I've modify the trigger in the Results slides as this:
Submit Results when timeline starts if Results.ScorePercent >= 50;
Tested in scorm cloud... when i exit the course with only 25%, the note was sends anyway..
I've modified the scormfunctions.js in this way but i don't know if is correct to do that or there is another less intrussive way
// alert("SCORM_SetScore");
Nota_corte = SCORM_CallLMSGetValue("cmi.student_data.mastery_score")
// alert("Nota_corte: "+Nota_corte+"intScore: "+intScore+"intMaxScore: "+intMaxScore+"intMinScore: "+intMinScore);
if(intScore>=Nota_corte)
{
blnResult = SCORM_CallLMSSetValue("cmi.core.score.raw", intScore);
blnResult = SCORM_CallLMSSetValue("cmi.core.score.max", intMaxScore) && blnResult;
blnResult = SCORM_CallLMSSetValue("cmi.core.score.min", intMinScore) && blnResult;
WriteToDebug("Returning " + blnResult);
return blnResult;
}
This discussion is closed. You can start a new discussion or contact Articulate Support.