Surveypage/slider timeout -> incorrect


Surveypage/slider timeout -> incorrect

Author
Message
ldobb
ldobb
Esteemed Member
Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K 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 Sad





Attachments
IQ.txt (224 views, 2.00 KB)
Tags
Dave
Dave
Supreme Being
Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)Supreme Being (678K reputation)

Group: Administrators
Posts: 9.8K, Visits: 46K
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
Esteemed Member
Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)

Group: Forum Members
Posts: 36, Visits: 146
Thanks, Dave, appreciate it so much - I'm getting the hang of things slowly!
GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search