Currently I am working on a quiz , were i have a multiple response question that any/all correct answers should be accepted as correct. However articulate doesn't support this feature.
So as a work around, i have added triggers to the question slide to open the correct layer and add to the Results.ScorePoints 10 points using "execute JS " trigger.
var player = GetPlayer(); var temp_res = player.GetVar("Results1.ScorePoints"); temp_res=+10; player.SetVar("Results1.ScorePoints",temp_res);
My problem is that the variable doesn't change. when i traced it using alert it gave me null. Anyone have away to fix this. or am i doing something wrong
4 Replies
You cannot manipulate results variables in javascript, you cannot even send them to javascript to run a calculation
I figured, any suggestions ??
You can send assign the score to another value and then use javascript to set the score in the LMS
yes great idea, i did something similar and didn't face a problem,
I think it going to work
Thank you
This discussion is closed. You can start a new discussion or contact Articulate Support.