This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Event Assess API

item:setAttemptedResponse

Fires when a learner has entered a response into a Question within an Item.

You would want to be notified about this event firing so that you can execute additional code based on the response content of an Item (in other words, whether the learner has made an attempt or not).

Examples

itemsApp.on('item:setAttemptedResponse', function () {
    console.log('This code executes when the learner has entered a response in a Question in this Item.');
});

Related articles

Was this article helpful?