config.questions_api_init_options.showCorrectAnswers - Initialization - Items API

Items API Initialization

showCorrectAnswers

This flag has different behaviors based on the value provided for state.

In "initial" or "resume" state:

  • When set to true, the correct answer will be shown when the user choose to check answers.
  • When set to false, the correct answer will not be shown.
  • When omitted, the correct answer will not be shown.

In "review" state:

  • When set to true, the correct answers will be shown together with the user answers.
  • When set to false, the correct answers will be hidden.
  • When omitted, the correct answers will be shown together with the user answers.

Note This flag has no behavioral changes in the "preview" state.

Values

Attribute path config.questions_api_init_options.showCorrectAnswers

Type boolean

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.