Skip to main content
Known Participant
October 28, 2021
Answered

Advanced Actions - new nav button on quiz

  • October 28, 2021
  • 1 reply
  • 438 views

Hi All,

I think this is doable, but I lack the knowledge.

I have a project that is in one CPTX. The content is broken into three modules. At the end of each module are quiz questions relevant to that module's topic. The score is tabulated at the end of the project.

 

If a user fails the quiz, the Retake Quiz button takes the user back to the first question of the first module. This is fine and correct for what I need.

 

But when the user retakes the last question in the first module, the user is then taken to the next module's content slide.

 

What I want is to create a button on the last question slide of the three modules that, when the user views that slide again, a button appears to take the user directly to the second module's questions, and then to the third module's questions, without having to view the intervening content.

 

Is there any guidance available on how to set this up?

 

Thank you!

 

Don

    This topic has been closed for replies.
    Correct answer Lilybiri

    You can use the system variable cpQuizInfoAttempts, which stores the number of the Quiz attempt. 

    On the last question of the first module, you will need to launch a conditional action for both the Success and Last Attempt event:

      IF cpQuizInfoAttempts is greater than 1

          Jump to slide ...                where you indicate the slide number of the first question in the next module

      ELSE

          Go to Next Slide

     

    Do the same for the last question of the second module. You could even use a shared action, with one parameter = the slide number to jump to. You could use that shared action on the last question slide of each module, and it would be much easier to transfer it to any other project since it appears in the Library which you can open as External library in any other project.

    1 reply

    Lilybiri
    LilybiriCorrect answer
    Legend
    October 28, 2021

    You can use the system variable cpQuizInfoAttempts, which stores the number of the Quiz attempt. 

    On the last question of the first module, you will need to launch a conditional action for both the Success and Last Attempt event:

      IF cpQuizInfoAttempts is greater than 1

          Jump to slide ...                where you indicate the slide number of the first question in the next module

      ELSE

          Go to Next Slide

     

    Do the same for the last question of the second module. You could even use a shared action, with one parameter = the slide number to jump to. You could use that shared action on the last question slide of each module, and it would be much easier to transfer it to any other project since it appears in the Library which you can open as External library in any other project.

    Known Participant
    October 28, 2021

    THANK YOU Lilybiri!

    I am just breaking the ice on my glacier of ignorance about Advanced Actions. You have given me an idea how to proceed, now I just have to figure out the process to make it happen.

     

    Is there a decent tutorial around for the total newbie?

     

    I am looking at Introduction to Advanced Actions and so far I have learned I am not holding my tongue correctly. 

    https://helpx.adobe.com/captivate/how-to/advanced-actions.html

    Lilybiri
    Legend
    October 28, 2021

    At the recent Adobe eLearning World conference I coached a workshop about advanced and shared actions. Here is the link to the recording:

    Custom Interactions Workshop - Learn All About Shared and Advanced Actions by Lieve Weymeis - eLearning (adobe.com)

     

    This blog post may help you to identify the functionality of the Advanced Actions dialog box objects :

    http://blog.lilybiri.com/advanced-actions-dialog-box-in-captivate-2017

    Forget about the shared actions at this moment, although you have a real typical use case for them. Just use two advanced actions as described: one for the last question of the first module, and a duplicate where you just change the slide number for the last question of the second module.