Reply To: Logging the participant ID

PennController for IBEX Forums Support Logging the participant ID Reply To: Logging the participant ID

#5205
Jeremy
Keymaster

Hello,

You are passing three arguments to the trial log command, when it should take only two: the first argument is the name of the column to be added, the second argument is the value of that column on each trial row in the results file.

If you simply get the participant’s id by looking up the URL (as opposed to, say, asking them to type it in a field) then you don’t need to use a Var element, just use:

.log( "ParticipantID" , GetURLParameter("id") )

Jeremy