Millisecond Forums

Displaying SubjectID

https://forums.millisecond.com/Topic18236.aspx

By jamieward - 2/1/2016

At the end of a survey, I want to tell participants what their SubjectID is so that they can enter this code elsewhere (on MTurk).  How do I get Inquisit to display this?  I have tried <% SubjectID %> and <% subjectnumber %> etc.

Jamie
By Dave - 2/1/2016

The property you want is script.subjectid:

<block myblock>
/ trials = [1=mytrial]
</block>

<trial mytrial>
/ stimulusframes = [1=mytext]
/ validresponse = (57)
</trial>

<text mytext>
/ items = ("Your ID is <%script.subjectid%>.")
</text>