This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Assess API

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?