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

Unpublished Captivate Variables

Community Beginner ,
Jan 13, 2017 Jan 13, 2017

It seems to me that there are more system variables than the ones at: List of variables in Adobe Captivate.

Does anyone know of a list of "unpublish Captivate variables"?

I'm interested in variables related to quizzes for example what is the stored answer to question 1, 2, 3, etc. I know there is a variable cpQuizInfoAnswerChoice but that only returns the last answer chosen not what what was chosen for a specific question.

317
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 ,
Jan 13, 2017 Jan 13, 2017

I really don't know if those variables exist, hoping someone else will pop in. I published a descriptive table with all 'exposed' system variables, but that is not what you want :System variables in Captivate 8/9 - Captivate blog

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
People's Champ ,
Jan 14, 2017 Jan 14, 2017
LATEST

Everything about the questions is available and more. The question data is stored in an array of objects which appear to be in the order the questions are encountered. To get the answer choice for the first question you would use this JavaScript:

cp.movie.questionObjs[0].m_questionScore.m_chosenAnswersAsString

This would return "D" if the learner chose the fourth answer in a multiple choice.

If you want the text of the answer:

cp.movie.questionObjs[0].m_questionScore.m_descriptionTexts.answerTexts.learner_response

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