Skip to main content
Legend
September 10, 2014
Question

cpQuizInfoAnswerChoice not storing the value

  • September 10, 2014
  • 1 reply
  • 387 views

Hi

I am using CP 7.0.1.237.

I wanted to track the answers user submits for each question of the standard/ default quiz and use it in an Advanced Action. So, here is what I did:

  1. Created a custom variable, Q1Ans.
  2. Assigned the value of cpQuizInfoAnswerChoice to this Q1Ans variable in an advanced action.
  3. Added a text box that shows the value of Q1Ans.

Moved the default Submit button out of the workspace and added my own button. I assigned the advanced action (that assigns the cpQuizInfoAnswerChoice variable) to this button.

I referred Secrets of cpQuizInfoAnswerChoice and.... - Captivate blog and it is working there. (Hey, it is Lilybiri, so it better work. ) I don't know what I am missing something here.

Sreekanth

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    September 10, 2014

    Do not get rid of the default Submit button, it is an essential component

    of quiz slides. You can change its look in object style manager, on the

    master slides but you have to keep it. Eventually you can give it a fill

    and stroke with opacity 0, and put an image of your choice under it (it

    wiil always have priority in the stack, be on top). You should have looked

    at my post about Question Question slides as well. Need to write a book

    about ball those rules

    Legend
    September 10, 2014

    Thanks Lilybiri. I am testing this again with the default Submit button. Now, the cpQuizInfoAnswerChoice (and hence the associated custom variable) picks up the option number instead of the actual value of the option. Here is the screenshot that explains it better.

    How do I get the actual values?

    Sreekanth

    Lilybiri
    Legend
    September 10, 2014

    The system quizzing variables store a content like it is transferred to the LMS, and for cpQuizInfoAnswerChoice that is the way...only the numbers of the chosen answer will be transmitted. If you want the content of the answers, you'll have to create a conditional action.