Skip to main content
Inspiring
June 2, 2016
Answered

Change system-assigned answer output?

  • June 2, 2016
  • 1 reply
  • 367 views

Hi,

I am using Captivate 8 and creating a quiz review slide for my learners, where they can see all of the quiz Qs, the correct answer, and their response. I have included their response by assigning cpQuizInfoAnswerChoice to a new, user-created variable after each slide (thanks, Lilybiri, if you see this!)

However, I seem to have no control over how the answer variable appears for some question types. My learners see "YOUR ANSWER: Q_1answerText_0" (or similar); is there a way that I can change the system-assigned answer, once it is a user variable, so that this is actually helpful to my learners?

Happy to provide any additional information.

Best,

Laura

    This topic has been closed for replies.
    Correct answer Lilybiri

    No,  you don't have control over the content of the variable cpQuizInfoAnswerChoice. I tried to explain in the article you are talking about. If you want to see really the text of each answer, for some types of question slides you'll have to 'translate' the content of that variable to the text corresponding with the number or character. In that case I would largely prefer to create custom question slides. With the radiobuttons widget, the associated variable will have to full text of the chosen item.

    1 reply

    Lilybiri
    LilybiriCorrect answer
    Legend
    June 2, 2016

    No,  you don't have control over the content of the variable cpQuizInfoAnswerChoice. I tried to explain in the article you are talking about. If you want to see really the text of each answer, for some types of question slides you'll have to 'translate' the content of that variable to the text corresponding with the number or character. In that case I would largely prefer to create custom question slides. With the radiobuttons widget, the associated variable will have to full text of the chosen item.

    laura_sieAuthor
    Inspiring
    June 7, 2016

    Thanks for this, and for the radiobutton suggestion. This will definitely work for standard MC questions.

    I was curious about the "translate" option you mentioned -- intuitively, it should seem like there is some way to tell Captivate that if a variable X contains a given string, then substitute "user input answer" for that string...but I'm not sure if this is what you meant (and if so, how to implement this "translation")

    Thanks for your continued help!

    Lilybiri
    Legend
    June 7, 2016

    I meant that the quizzing system variable cpQuizInfoAnswerChoice (see: )http://blog.lilybiri.com/secrets-of-cpquizinfoanswerchoice-and ) not always gets as value the string that is the answer text. Often it will be just A or B... the number of the answer. If you want to see the 'string' itself, you'll have to create a conditional action to put the string instead of the number in the user variable for that question.