Items API Initialization
section_options
Contains various options for assessments that use sections
.
Examples
// Allow learners to go to previous sections and also display the total Item count
var initializationOptions = {
"config": {
"configuration": {
"section_options": {
"allow_backward_navigation": true,
"display_total_item_count": true
}
}
}
};
// Always reset the Item count when progressing to the next section
var initializationOptions = {
"config": {
"configuration": {
"section_options": {
"reset_itemcount_per_section": true
}
}
}
};
Values
Attribute path config.configuration.section_options
Type object
Properties
-
allow_backward_navigation boolean
When using
sections
and this is settrue
the learner will be able to navigate back to previous sections. -
display_total_item_count boolean
When using
sections
and this is settrue
the Item counter will display the total combined Item count for all sections. -
reset_itemcount_per_section boolean
When using
sections
and this is settrue
, the Item count and progress display in assessments will be reset, so that it only reflects the number of Items within the current section, rather than all sections.
Versioning
Version added: v2021.2.LTS
Related articles
- The
sections
initialization option, which can be used to set up sections for the assessment. - Breaking Assessments Into Sections