Skip to main content
Inspiring
December 8, 2016
Answered

Quiz variable for specific question points scored

  • December 8, 2016
  • 1 reply
  • 623 views

[working with CP9]

Hi - I've searched high and low but I can't find the answer.

I want to display how many points have been scored per quiz question (on another slide other than the quiz question itself).

Is this possible?

It seems it is not a standard system variable but can I do it somehow using the interaction ID for the question and creating my own variable?

Any advice is appreciated.

Thanks,

Aimee

This topic has been closed for replies.
Correct answer Lilybiri

Start with downloading the table from this blog post: System variables in Captivate 8/9 - Captivate blog

There is a quizzing system variable cpQuizInfoLastSlidePointScored. It is a reused variable, which means that you'll have to assign its value to a user variable per quiz slide on each slide. That could be done with either the Success action (since the Last Attempt action means that the question was failed and the score remains 0) or with the On Enter action of the following slide. Step by step:

  1. Define a user variable for each quiz slide with a default value of 0. I will label them v_quiz1, v_quis2,....
  2. Create a shared action, probably like this:
         Assign v_quiz1 with cpQuizInfoLastSlidePointScored              define v_quiz1 as parameter
        Go to Next Slide
  3. Assign this shared action to the Success event of each quiz slide (Quiz Properties) and fill in the correct parameter.

1 reply

Lilybiri
LilybiriCorrect answer
Legend
December 8, 2016

Start with downloading the table from this blog post: System variables in Captivate 8/9 - Captivate blog

There is a quizzing system variable cpQuizInfoLastSlidePointScored. It is a reused variable, which means that you'll have to assign its value to a user variable per quiz slide on each slide. That could be done with either the Success action (since the Last Attempt action means that the question was failed and the score remains 0) or with the On Enter action of the following slide. Step by step:

  1. Define a user variable for each quiz slide with a default value of 0. I will label them v_quiz1, v_quis2,....
  2. Create a shared action, probably like this:
         Assign v_quiz1 with cpQuizInfoLastSlidePointScored              define v_quiz1 as parameter
        Go to Next Slide
  3. Assign this shared action to the Success event of each quiz slide (Quiz Properties) and fill in the correct parameter.
Inspiring
December 9, 2016

Thank you! That works like a charm.

Lilybiri
Legend
December 9, 2016

You're welcome!