Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] Likert-Scale

edited March 2016 in OpenSesame

Hey everyone,

I would like to create a Likert-Scale with the following script:

set timeout "infinite"
set spacing 10
set rows "4;1;4"
set only_render "no"
set margins "50;50;50;50"
set form_var "V1"
set form_title "V"
set form_text2 " sehr positiv"
set form_text1 "sehr negativ"
set description "A generic form plug-in"
set cols "1;1;1"
set button_text "weiter"
set _theme "gray"
widget 1 0 1 1 label text="Wie haben Sie sich beim Betrachten des Bildes gefühlt?"
widget 1 1 1 1 rating_scale nodes="0;1;2;3;4;5;6;7;8" var=V1
widget 2 1 1 1 label center=no text="[form_text2]"
widget 0 1 1 1 label center=no text="[form_text1]"

for the next step I would like to create a "next" button and copied the script from another discussion:

widget 0 4 2 1 button text="Next"

OpenSesame tells me an error after including the line:

The experiment did not finish normally for the following reason:

Widget position (0, 4) is outside of the form

Can someone tell me which widget position would be right? :)

Thanks in advance!!

Comments

  • edited 1:44AM

    Hi Sofia,

    It looks like you placed the widget on a row that does not exist (the 4th).

    with set rows "4;1;4" you have only created three rows, with the first and last four time as big as the middle one. If you try set rows "1;1;1;1" you will end up with four evenly distributed rows in the form. Also keep in mind that the first row has the number '0'. See this page for more details.

    Best,

    Laurent

  • edited 1:44AM

    Thanks!! Now it works :)

Sign In or Register to comment.