The number of trials that have been run within the given element within the current block.
<block> <expt> <likert> <openended> <sliderTrial> <survey> <surveyPage> <trial> <script>
object.name.trialCount
Read Only
integer
If the element is a block, this property returns the total number of trials run in the block regardless of trial type. If the element is a trial, this returns the number of times that type of trial was run within the block.
The following displays the value of trialCount in a text stimulus:
<text myText>
/ items= ("trialCount = <% trial.myTrial.trialCount %>")
</text>
The following displays the value of trialCount in an instruction page:
<page myPage>
trialCount = <% trial.myTrial.trialCount %>
</page>