Items API Methods
unsaveableQuestions()
Obtains the list of Questions that can not be saved in the current Activity. Usually caused by the configuration of each individual Question, such as exceeding the word count in an essay or short text Question type.
You would want to use this method so that you can warn the learner that certain Questions will need to be revised before they can be saved or submitted, for example.
Examples
var unsaveableQuestions = itemsApp.unsaveableQuestions();
console.log(unsaveableQuestions);
Arguments
None.
Return value
Type array[strings]
An array of response_ids (strings) that can not be saved.Related articles
- The
question()
method, which allows you to retrieve the interface for a specific Question. - The
save()
method, the method used to save the current assessment. - The
submit()
method, the method used to submit the current assessment.