Initialization Option Author API

require_validation

Controls whether an author should add a correct answer to a question prior to saving.

This will only be applicable to validatable question types that have "Auto scoring" enabled.

Note Currently, this init option is not supported if Question Editor's "Set correct answer(s)" section is hidden. It may be hidden via the editor's custom global template or base question type options.

Values

Request object key config.widget_templates.require_validation

Default: false

Type boolean

Versioning

Version added: v2020.2.LTS