Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adding a Variable Value to the cpQuizInfoPointsScored Variable

Explorer ,
Nov 17, 2011 Nov 17, 2011

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.

TOPICS
Advanced
2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 17, 2011 Nov 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 17, 2011 Nov 17, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 18, 2011 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 18, 2011 Nov 18, 2011

Jimmy.  This might be that you are misunderstanding how the Interactive Master widget works with partial scoring.  Basically you need to specify the score that will be allocated to a slave object using the Scoring section in the Master Widget properties interface.  That's the score that will be reported to the Quiz instead of the default score you've assigned to the interactive widget via the Properties > Report Score section in Captivate.

Using the preference settings you select, the Master Widget is going to try and work out whether or not the Variable Slave is in a Success or Failure condition, and THEN it will report whatever score you've assigned for that circumstance.

What you're trying to do is a little different.  You want to have ONE variable slave that can have a score anywhere between 60 to zero.  My suggestion is that you consider using setting up different user variables for each of the interactive objects on the slide that you are tracking and then add each of these variables into the Master widget as Variable Slaves, assigning each one a Success or Failure score in the Scoring screen. 

For example, if you ahve a number of click boxes on a slide and you are tracking whether or not the user clicks the right ones, you need to set up a user variable with a default value of 0 for each click box and assign that variable a value of 1 if the click box gets clicked.

The Master Widget will be able to determine for each of these slaves whether they are in a Success or Fail condition based on whether the variable is set to 0 or 1 and then add up the relevant scores allocated for each variable.  This aggregated score is what can be reported to the quiz score, over riding the default score assigned to the widget.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 18, 2011 Nov 18, 2011

By the way, what you were trying to do (have a variable's numeric value used as the score to override the widget's default score) is also a good use case, and we'll consider adding it as yet another option on a future update to the Interactive Master widget.  But we're very snowed under with client work at the moment, so I cannot promise when that might get added.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 07, 2012 Nov 07, 2012
LATEST

Rod,

I'm looking for the same solution. The ability to add the numeric value of the variable to the score on a quiz.

Has any one came up with a solution to this challenge?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources