Skip to main content
Participant
June 11, 2021
Question

Hot Spot Knowledge Check

  • June 11, 2021
  • 2 replies
  • 497 views

Hi.  I am relatively new to Captivate.  I am on Captivate 2019 11.5.5.553.   I have a few knowledge check questions in my course.  I also have a quiz at the end which gives the user 3 attempts to correctly complete.  If they fail all attempts, it takes them to a slide that says they failed and displays a button to retake the course.  The button has an advanced action that takes them back to slide one and uses javascript to reset the quiz data.  This part works fine.   The problem comes in when they start retaking the course and come to the slide before the first hot spot knowledge check slide.  This slide has a next button set to go to the next slide.   Only, it doesn't advance to the next hot spot knowledge check slide, no matter how many times you click the button.   Through various tests, I have deducted that it is a problem with the hot spot slide.   Has anyone had this problem and successfully been able to correct it?   

    This topic has been closed for replies.

    2 replies

    Lilybiri
    Legend
    June 12, 2021

    Why make it simple if you can do it in a complicated way. Sorry for that comment, but it happens more and more that I see rather new users believe that JS will solve all their problems, whereas a basic knowledge of the setup and workflows in Captivate is not even acquired.

    Rod tells the same but much more diplomatic and elaborates more.

     

    You have Knowledge Check slides and scored Quiz slides. Both share some functionality but are also different.  A Knowledge Check slide, if you keep the default setup, has inifinite attempts. It will be reset when you leave the slide, contrary to the quiz slides which are only reset when the learner uses the Retake button on the Score slide (or a workaround).  Did you write the JS script? Was it meant for both KC and quiz slides? In this blog I explored the differences:

    http://blog.lilybiri.com/knowledge-check-slides-tips

     

    Personally I never use the default Hotspot slide, always create a custom hotspot slide because I find the default one too limited if you have multiple hotspots. This means I cannot explain why you have issues exactly with that type at all.

     

    There are much easier ways to force the learner to retake the complete course after a number of failed attempts. Once you really understand the functionality of CP's quizzes, tweaks become possible... without JS.  I have a list with over 30 blogs about basics and tweaks for Quizzes. If you are rather new to Captivate take advantage of the existing functionality before switching to JS.

     

    RodWard
    Community Expert
    Community Expert
    June 11, 2021

    These kinds of issues seem to often crop up when you are using JavaScript to mess with Captivate's internal quizzing functionality. That part of Captivate is quite complex and just resetting the score back to zero is unlikely to be the ONLY thing you needed to reset to get everything working the same way it would if the user had relaunched the lesson again (which is what is normally recommended).

     

    I don't really understand why you would want to use JavaScript to hack the quiz scoring AFTER you have just told the user they have failed the quiz after three attempts.  If you are only going to give them an infinite number of attempts to pass the quiz without relaunching the module, then just do that.  Set the quiz to Infinite Attempts in the quiz settings.  Then you won't need to worry about JavaScript.  However, if the learner is supposed to start again right from the beginning of the course after failing the quiz three times, then just tell them to relaunch the module again from the LMS and set a specific number of allowed launches in the LMS itself.