How to prevent scrolling slider responses


Author
Message
Ishika
Ishika
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)
Group: Forum Members
Posts: 6, Visits: 42
Hi, I have a slider element which looks something like this:
<slider Q3>
/ caption = "sometext."
/ labels = ("Extremely likely", "Likely", "Somewhat likely", "Neither likely nor unlikely", "Somewhat unlikely", "Unlikely", "Extremely likely")
/ range = (1, 7)
/ size = (90%, 5%)
/ slidersize = (90%, 5%)
/ position = (5%, 75%)
/ required = true
</slider>

However, whenever I try to add a line to accept only left mouse clicks as valid responses -- 
/ validresponse = (lbuttondown)
Inquisit shows an error message saying that "'lbuttondown' Expression contains an unknown element or property name."

I'm not sure where I'm going wrong. My main goal is to ensure that participants can only click on slider responses, not input their answers using mouse scroll.

TIA for your advice!
Dave
Dave
Supreme Being (921K reputation)Supreme Being (921K reputation)Supreme Being (921K reputation)Supreme Being (921K reputation)Supreme Being (921K reputation)Supreme Being (921K reputation)Supreme Being (921K reputation)Supreme Being (921K reputation)Supreme Being (921K reputation)
Group: Administrators
Posts: 11K, Visits: 67K
Ishika - 3/25/2021
Hi, I have a slider element which looks something like this:
<slider Q3>
/ caption = "sometext."
/ labels = ("Extremely likely", "Likely", "Somewhat likely", "Neither likely nor unlikely", "Somewhat unlikely", "Unlikely", "Extremely likely")
/ range = (1, 7)
/ size = (90%, 5%)
/ slidersize = (90%, 5%)
/ position = (5%, 75%)
/ required = true
</slider>

However, whenever I try to add a line to accept only left mouse clicks as valid responses -- 
/ validresponse = (lbuttondown)
Inquisit shows an error message saying that "'lbuttondown' Expression contains an unknown element or property name."

I'm not sure where I'm going wrong. My main goal is to ensure that participants can only click on slider responses, not input their answers using mouse scroll.

TIA for your advice!

> My main goal is to ensure that participants can only click on slider responses, not input their answers using mouse scroll.

It's not possible, a slider will always accept either.

Ishika
Ishika
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)
Group: Forum Members
Posts: 6, Visits: 42
Dave - 3/25/2021
Ishika - 3/25/2021
Hi, I have a slider element which looks something like this:
<slider Q3>
/ caption = "sometext."
/ labels = ("Extremely likely", "Likely", "Somewhat likely", "Neither likely nor unlikely", "Somewhat unlikely", "Unlikely", "Extremely likely")
/ range = (1, 7)
/ size = (90%, 5%)
/ slidersize = (90%, 5%)
/ position = (5%, 75%)
/ required = true
</slider>

However, whenever I try to add a line to accept only left mouse clicks as valid responses -- 
/ validresponse = (lbuttondown)
Inquisit shows an error message saying that "'lbuttondown' Expression contains an unknown element or property name."

I'm not sure where I'm going wrong. My main goal is to ensure that participants can only click on slider responses, not input their answers using mouse scroll.

TIA for your advice!

> My main goal is to ensure that participants can only click on slider responses, not input their answers using mouse scroll.

It's not possible, a slider will always accept either.

Ah ok, thanks
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search