Skip to main content
Inspiring
November 17, 2011
Question

Adding a Variable Value to the cpQuizInfoPointsScored Variable

  • November 17, 2011
  • 1 reply
  • 2134 views

I have a variable that I am using to track incorrect responses (clicking incorrect buttons while completing a process) and I want to add the value of the the variable to the value of cpQuizInfoScored. I can create an expression to add the two but I can't select cpQuizInfoePointsScored to receive the total.

Any help would be appreciated.

This topic has been closed for replies.

1 reply

Lilybiri
Legend
November 17, 2011

cpQuizInfoPointsscored, like most other Quizzing system variables is read only, you cannot change its value by advanced actions at all.

The workaround I can propose, and explained in a blog post, is to create two click boxes (or two buttons if you prefer), one with an attached score, one without score. Show the appropriate object based on the answer: if correct show the click box with score, if incorrect the one without score. And be sure that the user clicks on it, so the score will be added to cpQuizInfoPointsscored.

Here is the link to that blog post:

Report Custom Questions - Part 2

Lilybiri

RodWard
Community Expert
Community Expert
November 18, 2011

You can also use the Interactive Master widget to report variable values to the quiz score by adding the variable as a slave object in the widget and getting it's score tracked in the widget to override the score assigned to the widget itself in the Captivate settings.

More information about setting up the Master Widget here.

Download a trial version to play with it here.

JimmyL16Author
Inspiring
November 18, 2011

I have been trying to use the master widget for this but am having trouble getting the widget to report the value of the variable instead of the value on the scoring tab. In essence, my variabel starts with a score of 60 and uses a advsanced action to subtract 1 every time the user chooses an incorrect option. I need the final total of the variable to be the reported score. Of course that is variable or I could set it as the score value on the scoring tab.