attribute_overrides - Initialization - Questions API

Questions API Initialization

attribute_overrides

This allows activity level overrides to be specified in init options.

If an attribute is specified as true, then it will override this attribute to true in question JSON for all questions which support this attribute in the activity.

If an attribute is specified as false, then it will override this attribute to false in question JSON for all questions which support this attribute in the activity.

If an attribute is unspecified, the behaviour specified by the question JSON should apply.

Values

Attribute path attribute_overrides

Type object

Possible values

  • "instant_feedback" will toggle visibility of the Check Answer Button in the question.
  • "spellcheck" will turn the browser spellcheck on or off.

Versioning

Version added:  v2021.2.LTS

Was this article helpful?

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