Data recording troubles part 2: Time estimation strikes back


Author
Message
Psych_Josh
Psych_Josh
Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)
Group: Forum Members
Posts: 85, Visits: 397
That's fantastic Dave, thanks a lot!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
That's not something you do in the script. Instead you specify the URL you want to redirect to in your web experiment's settings:

https://www.millisecond.com/forums/uploads/images/0a530cb4-c414-4239-b1eb-6a93.png

Psych_Josh
Psych_Josh
Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)
Group: Forum Members
Posts: 85, Visits: 397
Hi Dave,

Sorry to bother you with one more question (and if you would prefer me to start a new topic I'll happily do so), but I wish to host my study via Prolific Academic, which requires a link back to the latter's website at the end of the study; thus, how do I add a hyperlink? I have searched, and attempted:

<item prolink>
/1 = "*hyperlink goes here*"
</item>
 
<trial link>
/stimulustimes = [1 = prolink]
/timeout = 1000000
</trial>

<block link>
/trials = [1 = noreplace(link)]
</block>

Alas, this does not work (as you might have guessed).

Any help would be greatly appreciated.

Many thanks,
Josh
Psych_Josh
Psych_Josh
Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)
Group: Forum Members
Posts: 85, Visits: 397
Wonderful, thanks for clearing that up Dave - everything's working and data recording is correct. I'm ready to publish the study online now - thanks again!

Josh
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
This place is for asking question -- it's not pestering at all.

As to your question:
#1: Keypress responses in *<trial>* elements are recorded as *keyboard scancodes* (not the same as ASCII codes). There is no way to change that.
#2: Your last question involved an *<openended>* element, however. The response column will reflect whatever the participant typed. This will *not* be translated to keyboard scancodes or ASCII codes. I.e., if a participant responds "banana", that's exactly what the response column will have in it.

Psych_Josh
Psych_Josh
Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)
Group: Forum Members
Posts: 85, Visits: 397
Hi Dave,

Thanks for your response. I've been trying to source a method, as I don't want to keep pestering you with questions, but I'm having trouble logging the response column to the data file to capture responses. Ideally I would like to record their response/data as a string, and from my inquisition I believe the 'response' data column only records ASCII codes.

Many thanks again,
Josh
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
As for your copy & paste question: Copied from where and when? Generally, though, the answer is no. You cannot CTRL+C, for example, an item displayed by a <text> element in a script.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
You don't need /validresponse or /correctresponse. You need to run your <openended> element via some <block> at the appropriate point in time. You need to log the response column to the data file to capture responses. Alternatively, use a <values> entry as you already do in other places and log that value to the data file.

Psych_Josh
Psych_Josh
Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)
Group: Forum Members
Posts: 85, Visits: 397
Sorry - I forgot to mention in the last post also - is there a way for participants to have copied text via ctrl+C and be able to paste it into the text box, also?

Thanks again, apologies for the double posting,

Josh
Psych_Josh
Psych_Josh
Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)Guru (11K reputation)
Group: Forum Members
Posts: 85, Visits: 397
Hi Dave,

Thanks. I understand that, where the correct number was incorrectly appearing, it was actually recording it for the trial beforehand but incorrectly placing it in the next data row. I switch all the trials to recorddata = false, and switched surverypage.te = true, and it records properly now.

Thanks for your help!

One other quick thing that I've spent the last 2 hours trying to work out, is how to record openended responses? They need to enter in their specific ID, so, as predicted, /correctresponse or valid/repsonse does not work.

I have this so far:
<openended paID>
/position = (50, 50)
/buttonlabel = "Click here to advance"
/linelength = 50
/charlimit = 30
/numlines = 1
/size = (500, 50)
/recorddata = true
</openended>

What would I need to enter, either here or in the data section, for it to record? 

Many thanks,
Josh
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search