Public Method Items API

currentAttemptIndex()

Returns the index of the current attempt in the dynamic content table.

Examples

itemsApp.assessApp().item('my_item_reference').currentAttemptIndex();

Arguments

None.

Return value

integer

The response index for the current attempt. This index can be used to check for the appropriate dynamic content response value.

Related articles

Was this article helpful?