Millisecond Forums

How to prevent scrolling slider responses

https://forums.millisecond.com/Topic31186.aspx

By 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!
By 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.
By Ishika - 3/26/2021

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