Skip to main content
captivate_dev
Known Participant
July 12, 2021
Question

Retake button

  • July 12, 2021
  • 1 reply
  • 1365 views

I have developed a small quiz in Captivate 2019, with 4 questions. If the user fails to answer the questions correctly, a retake button will appear, prompting the user to click on it to return to slide 1 (Intro), if however, the user answers the questions correctly, then the retake button will not be shown only the continue button. 

 

Any help would be kindly appreciated.

 

 

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Brainiac
    July 12, 2021

    The Retake button on the score slide will appear only on a failed attempt on quiz level, which is your second requirement. You need to have at least 2 attempts in Quiz Preferences of course. On Succes, the Retake button will not appear.

    Retake button normally resets all quiz slides and quizzing system variables and navigates to the first quiz slide or the first slide with a scored object. You can override this to use an advanced action On Enter for that first scored slides like this:

     IF cpQuizInfoAttempts is greater than 1

          Jump to slide 1                  first slide of the course

    ELSE

           Continue

     

    Beware: you need to allow Backwards movement (not necessary Back buttons) in the Quiz Preferences, Settings.

    captivate_dev
    Known Participant
    July 12, 2021

    The retake button on the score slide now works; however, when I click on the restart button, it takes me back to slide 1, which is fine, but now the click button in the navigation on slide 1 doesn't seem to work. Does this need to be reset?

     

    Also, you mentioned backwards movement, meaning enabling backwards navigation controls skin editor?

     

     

    Lilybiri
    Brainiac
    July 14, 2021

    I meant in Adobe Captivate; If I preview the project, it works fine; however, if I publish the files to (HTML 5) and then launch the index.html file from my local drive, it doesn't work. The retake button takes me back to question 1 instead of slide 1.


    You may have misunderstood, trying to be more elaborate:

    1. Do NOT launch locally, you need to upload to a webserver, and use the URL to launch FROM THE SERVER.
    2. Not all Preview methods show the output as it will be when published to HTML5 since you are on a non-responsive project. You need to use exclusively F11, Preview HTML in Browser.

    Rod has insisted also on the second point. The last test, on SCORM Cloud is indeed fine, but only if you are planning to use a LMS and if you set up Reporting. Only in that case a real SCO output will be created.