Skip to main content
jj69157138
Participant
March 29, 2016
Answered

Clear checkbox widget on slide enter

  • March 29, 2016
  • 3 replies
  • 402 views

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!

    This topic has been closed for replies.
    Correct answer Lilybiri

    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

    3 replies

    jj69157138
    Participant
    March 30, 2016

    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.

    Lilybiri
    LilybiriCorrect answer
    Legend
    March 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

    TLCMediaDesign
    Inspiring
    March 29, 2016

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

    cp.resetQuizData();