Displaying participants point total


Author
Message
kosbornecrowley
kosbornecrowley
Partner Member (682 reputation)Partner Member (682 reputation)Partner Member (682 reputation)Partner Member (682 reputation)Partner Member (682 reputation)Partner Member (682 reputation)Partner Member (682 reputation)Partner Member (682 reputation)Partner Member (682 reputation)
Group: Forum Members
Posts: 8, Visits: 6
Is there a way I can display a running total of points earned across the whole experiment either in a feedback trial or in a <page> at the end of a block?

Thanks!

Katie
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Yes. Suppose you have store the total in values.totalpoints. To display it in a <text> element via a <trial> do:

<text youtotalpoints>
/ items = ("You have achieved <%values.totalpoints%> points! Congratulations!")
...
</text>

<trial feedbacktrial>
/ stimulusframes = [1=yourtotalpoints]
...
</trial>

If you want the total to be displayed in all your trials, add the yourtotalpoints stimulus to those trial's /stimulustimes or -frames.

Displaying it in an instruction <page> works the same:

<page feedbackpage>
You have achieved <%values.totalpoints%> points. Congratulations!
</page>

<block someblock>
/ postinstructions = (feedbackpage)
...
</block>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search