Deprecated Replaced by reset_item
Resets an element to its original state when the script was first parsed.
<global>
none
Name | Type | Description |
---|---|---|
set | set | A list, stimulus, item, or counter element. |
The reset function resets all attributes of an element the original values when the script was parsed. If the script specified a set of static items for the list, list will be reset to those static items.
The following resets the items from a text stimulus:
<trial myTrial>
/ onTrialEnd= [item.targets.reset();]
</trial>
The following resets the items from the selection pool of a list:
<trial myTrial>
/ onTrialEnd= [list.options.reset();]
</trial>