validateQuestions - Methods - Assess API

Assess API Methods

validateQuestions()

Causes all auto-scorable Questions in the activity to render feedback for the user.

The showCorrectAnswers can be passed with an attribute that will cause correct answers to be displayed.

When feedbackAttempts set to true, this will increment feedbackAttemptCount, or do nothing if the feedbackAttemptCount limit has already been reached.

Arguments

  • options object

    • showCorrectAnswers boolean

      Default: false

    • feedbackAttempts boolean

      Default: false

  • callback function

    Optional. Callback that can be used in cases where asynchronous Question types are present.

Return value

None (undefined).

Was this article helpful?

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