Hi Jeremy,
I’m running a PCIbex study via mTurk, and I’m trying to append a global variable “pID” to a URL (code below). However, I can’t seem to figure out how to make this work, as the only thing that shows up in the URL is “[object%20Object]” and not the actual value of the “pID” variable. I’m sure it’s something obvious, but I can’t seem to figure out why this is not working.
newText("<p><a href='https://pitt.co1.qualtrics.com/jfe/form/SV_9suLiT1t7sABeDg?id="+ newText("ID").text( getVar("pID") ) +"' target='_blank' rel="noopener noreferrer">Click here to complete a brief survey on Qualtrics.</a></p>")
.center()
.print()
Thanks in advance!
-Doug