Reply To: Logging randomly generated IDs for MTurkers

PennController for IBEX Forums Support Logging randomly generated IDs for MTurkers Reply To: Logging randomly generated IDs for MTurkers

#9886
JunLyu
Participant

Hi Jeremy,

The html itself works fine (both my old html that generates the ID and your code). But the ID generated on the html cannot be found in my results file. Here is what my html file (not the script which works) looks like:

“We require you to generate a unique identifier so that we can match your reading experiment answers to the questionnaire.

1. Click on the following button to create your unique identifier.
(A button here says “create unique identifier)

2. Copy and paste the identifier above into the box below:
(there is a box here in which participants can copy-paste the ID; I am supposed to see this ID in the results file but I do not)

3. Also copy and paste the identifier above into the “Participant ID” box on Qualtrics (the questionnaire that you opened).”

I should be able to see the ID participants generate. But now I cannot. So I wonder whether my code in the “main” script is incorrect:

//Generate random IDs
newTrial("ID",
    newHtml("ID", "ID.html")
        .cssContainer({"width":"720px"})
        .center()
        .print()
        .log()
    ,
    newButton("continue", "Click to continue")
        .center()
        .print()
        .wait(getHtml("ID").test.complete()
                  .failure(getHtml("ID").warn())
        )
)

Jun