Skip to content

Dynamic completion codes for CloudResearch (turkPrime) mTurk #710

Answered by jodeleeuw
dreamerie asked this question in Q&A
Discussion options

You must be logged in to vote

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:

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!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dreamerie
Comment options

Answer selected by jodeleeuw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants