Scenario 2


Your Code

function onSubmit ()
{
   var time = calculateTime();
   SetValue
( "cmi..0.
comment", "Learner’s comment" );
   SetValue( "cmi.comments_from_learner.0.
.location", "SCO1:SCENARIO_2" );
   SetValue( "cmi.comments_from_learner.0.
", time );
}


Code Example

function onSubmit ()
{
   var time = calculateTime();
   SetValue( "cmi.comments_from_learner.0.
comment", "Learner's comment" );
   SetValue( "cmi.comments_from_learner.0.
location", "SCO1:SCENARIO_2" );
   SetValue( "cmi.comments_from_learner.0.
timestamp", time );
}