Hi,
in my study, I want to show an image and while the image is on screen, collect multiple continuous ratings on several questions (e.g. with a slider or a different kind of answering that allows continuous rating).
How can I do this in OS Web?
Best,
Sarah
Comments
Hi @Sarah_
As Eduard previously responded, you will need to use JavaScript to implement a slider or another fancy type of continuous rating. Perhaps it is easiest to draw a rating scale with a
sketchpaditem, ask participants to click on it with amouse_responseitem and then determine the coordinates?Cheers,
Lotje
Did you like my answer? Feel free to

Dear @lvanderlinden ,
thank you for your response. I asked the question again to ask whether there are any other ways beside a slider to collect continuous ratings.
Is there a way in OSweb to collect ratings the way you suggested (mouse_response coordinates), but not only collect one rating per screen? I want to show an image and collect continuous responses on 10 separate questions.
Cheers,
Sarah
Hi @Sarah_ ,
I'll try to make a template for how to do this. It won't be a slider though, just lines (e.g. ranging from "completely disagree" to "completely agree") that participants can click on.
Cheers,
Lotje
Did you like my answer? Feel free to

Hi @Sarah_ ,
I hope the following example script can help you further. I implemented only three rating scales, but you should be able to increase the number of questions per screen.
If you need any more personalized help, we can refer you to our paid support option.
Cheers,
Lotje
Did you like my answer? Feel free to

Hi @lvanderlinden ,
thank you for your help and the template! This helps a lot.
My only question about it is if the click location (e.g. rating on the scales) is logged in this template? I see the logged variables in the template, but when I tested it in Jatos, the resulting data frame columns only said the following in both rows:
clicked_response: none ; my_cursor_roi: line 3 ; question: none
Thanks!
Sarah
Hi @Sarah_
Oops, sorry about that. The
loggeritem in the example was not logging the correct variables...If you tick "Log all variables" in the
loggeritem all variables will be logged. If this makes your experiment too slow on OSWeb, you can manually add variables. The x coordinates per question are stored in the variables 'x1', 'x2', 'x3'.I uploaded the corrected version (logging all varialbes).
Thanks for pointing this out and good luck with your experiment!
Lotje
Did you like my answer? Feel free to

Hi @lvanderlinden ,
it works now and logs the variables.
Thank you for the template, it is really helpful!
Cheers,
Sarah
You're most welcome @Sarah_
Did you like my answer? Feel free to

Hey,
thank you @lvanderlinden your template was also really helpful for me.
But for me there ist one question left: Is there any possibility, that the participants don't have to do the rating by a mouse_click, but instead change the position of the rating icon with the LEFT and RIGHT keys on the tastatur and to log the choosen position?
Cheers,
Rahel
Hi @strahel ,
Could you perhaps upload the experiment that you have so far?
Cheers,
Lotje
Did you like my answer? Feel free to

Hi @strahel ,
Me again. I think this script should work. Participants can use the arrow keys (left and right) to change the position of the cursor. To accept the final position, they can press enter. Then the next trial starts.
Could you please check whether the script works in your browser? If not, perhaps the words "left" and "right" should be capitalized in the
inline_javascriptitem.Cheers,
Lotje
Did you like my answer? Feel free to

Hi @lvanderlinden
it workes perfectly! Thank you so much!
Cheers Rahel