Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Clear checkbox widget on slide enter

New Here ,
Mar 29, 2016 Mar 29, 2016

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!

371
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 29, 2016 Mar 29, 2016

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:

Tips - Learning Interactions - Captivate blog

Translate
People's Champ ,
Mar 29, 2016 Mar 29, 2016

If it's HTML5 you can execute this JavaScript, it will reset all questions though.

cp.resetQuizData();

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 29, 2016 Mar 29, 2016

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:

Tips - Learning Interactions - Captivate blog

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 30, 2016 Mar 30, 2016
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources