Reply To: MTurk completion code

PennController for IBEX Forums Requests MTurk completion code Reply To: MTurk completion code

#6832
Jeremy
Keymaster

Hello,

A simple enough solution is to use JavaScript to generate a unique completion code at the top of your script and print a Text element with that code in the last trial of the experiment. The general idea takes the following form in your project’s script:

code = 'my unique completion code'

Sequence( "intro" , randomize("trials") , SendResults() , "end" )

newTrial("end",
  newText( code ).print()
  ,
  newButton().wait() // end = wait on this screen forever
)

code = undefined // make it harder to fetch the code by other means

Here is a more elaborate illustration of this idea: https://farm.pcibex.net/r/BIHiHw/

Jeremy