Items API Initialization
try_again
The configuration object for setting up the Try Again functionality.
You would want to use this option so that you can allow learners to ask for another set of data for the Question they are attempting.
Examples
var initializationOptions = {
"dynamic_items": {
"try_again": {
"max_attempts": 5,
"random": true
}
}
// ...
};
Values
Attribute path dynamic_items.try_again
Type object
Properties
-
max_attempts integer
Sets the amount of times the learner can click Try Again, up to a maximum of 10.
-
random boolean
Sets the dynamic content order to a random sequence for all Items in the assessment.
Related articles
- Using Dynamic Content and "Try Again" in Your Assessments
- Randomizing content in Learnosity assessments
- The
dynamicobject, the object used to access methods related to dynamic content Items. - The
nextAttemptmethod, the method used to load the next row in dynamic content Items. - The
previousAttemptmethod, the method used to load the previous row in dynamic content Items. - The
currentAttemptIndexmethod, the method used to obtain the response index for the current attempt in the dynamic content table. - The
totalAttemptsmethod, the method used to obtain the total number of attempts for the current dynamic content Item.