Copy link to clipboard
Copied
The problem I had was using the QuizInfoAnswer variable to do some advanced actions after a quiz. (I read your blog Lily, thank you).
It would have been an easy answer if I had a list of value returns from system variables.
I found this page https://helpx.adobe.com/captivate/using/captivate-variables-list.html
This is a little helpful...it told me that QuizInfoAnswer returns a quiz answer with default value of 0.
But what does zero refer to? Is 0 a correct answer? Is one an incorrect answer? Does it return, 0, 1, 2, 3 according to the multiple choice response?
Thanks in advance.
Copy link to clipboard
Copied
Are you referring to cpQuizInfoAnswerChoice? If so the default value is 0 but once your user submits an answer, cpQuizInfoAnswerChoice will contain the value that represents the answer number or letter (whichever numbering format you've selected). If you move on to a new question the variable will get rewritten so if you need to you will have to store the values in your own set of user variables.
Copy link to clipboard
Copied
Thanks for this Paul. I dig your videos.
I found a workaround for the time being using a custom quiz setup that I got from you on YouTube.
I was trying to return cpQuizInfoAnswerChoice to a text caption, and it wouldn't print anything. Any idea why?
Copy link to clipboard
Copied
I suspect you missed some blog posts about system variables and Quizzing variables, where you can download full descriptive tables as well:
Using Quizzing System Variables - Captivate blog
System variables in Captivate 8/9 and 2017 - Captivate blog
Be careful when using '0' in conditional actions. The way Captivate is 'calculating' values for variables often will lead to a workaround like the one described in this very old post:
Copy link to clipboard
Copied
I guess it might be because it's sort of a temporary storage for the information at hand. Once you move to the next question the variable is reset back to default. I'm not sure if it happens on question slide entry or on the submit of the next question but it is only the most recent answer. That's why you might want to store it in your own set of variables for later use.
Copy link to clipboard
Copied
For users who want to learn more about the functionality of this particular Quizzing system variable, you can have a look at the post that the OP was referring to:
Secrets of cpQuizInfoAnswerChoice and.... - Captivate blog
The lists with system variables I was referring to in a previous answers is only for the exposed system variables. Captivate has more system variables, where some can be accessed using JS. Have a look at this thread:
Copy link to clipboard
Copied
No thanks, Lieve. I no longer read your blog since you alleged that I was misappropriating your content.