Forum Discussion
JonasGretzer
2 years agoCommunity Member
Clear numeric entry boxes / reset numeric variables - Storyline 360
I have created an exercise where the learner need to fill in three numeric entry boxes. If they don't answer correctly I want to clear the boxes when they are to retry the excercise. However I cant ...
JonasGretzer
2 years agoCommunity Member
I got it to work now. Using this js-code
var player = GetPlayer();
player.SetVar("variable1", "");
player.SetVar("variable2", "");
player.SetVar("variable3", "");
But now "NaN" is displayed in the entry boxes. Do anyone have a solution for this..?