Assess API Events
test:submit:success
Fires when an assessment is successfully submitted.
You would want to be notified about this event firing, because you might want to update your progress dialog to show the submission was successful, for example.
Examples
itemsApp.on('test:submit:success', function () {
console.log('This code executes when the assessment is successfully submitted.');
});
Related articles
- The
test:submit
event, the event that occurs when the assessment submission begins. - The
test:submit:error
event, the event that occurs when there was an error with the assessment submission. - The
test:finished:submit
event, the event that occurs after this event where the learner clicks the "Close" button on the outro screen and is then redirected to theonsubmit_redirect_url
.