-
Hi all, I have been using cloudresearch/turkprime to collect data from mTurk workers.I have been using the fixed completion code option so that workers who enter the code (displayed at the end of the study) are automatically approved. However, I would like to use the dynamic completion code as this is more secure: Their guide only specifies how to do this with Qualtrics, but I imagine it can be integrated with jspsych code as well. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
With the caveat that I haven't tried this yet, I think you could accomplish it with the var dynamic_code_trial = {
type: 'html-keyboard-response',
choices: jsPsych.NO_KEYS, // prevent the subject from continuing after this point
stimulus: '<iframe src="https://www.turkprime.com/TurkPrime/TakeLaunchedSurvey/DynamicKey" width="100%" height="200"></iframe>'
} Please let us know if this works! |
Beta Was this translation helpful? Give feedback.
With the caveat that I haven't tried this yet, I think you could accomplish it with the
html-keyboard-response
plugin as the final trial of the experiment:Please let us know if this works!