Copy link to clipboard
Copied
I've been unable to figure this out. Hopefully someone here has the solution! I have a custom question using the checkbox widget that I would like to have "reset" or the checkmarks cleared after the user has answered the question and returns to the slide. Is there any way to do this? Currently I have an on enter slide advanced action that "resets" everything back to default, but the checkmarks previously selected remain.
Thanks!
It depends on the version you are using, if you use the 'widget' or the 'learning interaction' and if the output is to SWF or HTML.
For SWF output the latest versions of the checkboxes and radiobuttons learning interactions allow to control the output with an advanced action. You'll set the variable(s) all to the value of an empty variable. I showed such examples in this blog post:
Copy link to clipboard
Copied
If it's HTML5 you can execute this JavaScript, it will reset all questions though.
cp.resetQuizData();
Copy link to clipboard
Copied
It depends on the version you are using, if you use the 'widget' or the 'learning interaction' and if the output is to SWF or HTML.
For SWF output the latest versions of the checkboxes and radiobuttons learning interactions allow to control the output with an advanced action. You'll set the variable(s) all to the value of an empty variable. I showed such examples in this blog post:
Copy link to clipboard
Copied
Thanks for your help! I was able to get it working with an advanced action on enter that checks to see if the variable was clicked and then assigns it an empty variable.