Surveypage/slider timeout -> incorrect


Author
Message
ldobb
ldobb
Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)
Group: Forum Members
Posts: 36, Visits: 146
Hi Dave,
I've looked at a lot of older posts about sliders and whether or not a response registers, etc. I am having trouble getting my script to communicate that if the surveypage times out, the response shouldn't be considered correct. Nothing I do seems to work :(





Attachments
IQ.txt (718 views, 2.00 KB)
Tags
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
Set up a <values> entry

<values>
/ correct = 0
</values>

and set that value to 0 (incorrect) if the page times out (latency >= 10000).

Log that value to the data file.

Also,

#1: You cannot set a trial's correct-property. The correct-property is read-only.

/ ontrialend = [if (slider.stim_slider1.response == "50" && slider.stim_slider2.response == "50" && surveypage.rating.latency < 10000)
                surveypage.rating.correct == true]

#2: Even if it were possible to set it, you'd be using the wrong operator. == is a logical comparison operator, the assignment operator is =.

ldobb
ldobb
Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)Distinguished Member (3.9K reputation)
Group: Forum Members
Posts: 36, Visits: 146
Thanks, Dave, appreciate it so much - I'm getting the hang of things slowly!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search