Howdy, Stranger!

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

Supported by

[solved] radio buttons along with multiple images on the same screen?

edited February 2014 in OpenSesame

Hello,

I'm trying to collect people's judgments about which image is the most typical example of a category.
Radio buttons seem like an intuitive way of collecting a forced choice among multiple (in my case, 11) items, but I don't know what the simplest way of collecting such judgments would be in OpenSesame.

The Questionnaire plug-in doesn't seem to allow drawing images on the same screen as the built-in response formats, and the Python inline script option seems to require a separate GUI installation and perhaps a separate experiment window for the radio buttons due to the use of a widget.

Is there a way to combine radio buttons with multiple image presentation to collect preference judgments?
Thanks in advance!

Comments

  • Hi,

    Perhaps you could ask your participants to just click on the object of their choice. How to implement clickable image buttons is described here:

    The following script (which should be placed in a form_base item) should give you an idea of how to implement this:

    set rows "1;1;1;1"
    set cols "1;1;1"
    widget 0 0 1 1 image_button path="img1.png" var="img1"
    widget 0 1 1 1 image_button path="img2.png" var="img2"
    widget 0 2 1 1 image_button path="img3.png" var="img3"
    widget 0 3 1 1 image_button path="img4.png" var="img4"
    widget 1 0 1 1 image_button path="img5.png" var="img5"
    widget 1 1 1 1 image_button path="img6.png" var="img6"
    widget 1 2 1 1 image_button path="img7.png" var="img7"
    widget 1 3 1 1 image_button path="img8.png" var="img8"
    widget 2 0 1 1 image_button path="img9.png" var="img9"
    widget 2 1 1 1 image_button path="img10.png" var="img10"
    widget 2 2 1 1 image_button path="img11.png" var="img11"

    This will set the variables 'img1' and 'img2' etc. to 'yes' or 'no', depending on which image has been clicked. Given that you append a logger item to your trial sequence, this will allow you to determine which object a participant chose by looking for the 'yes' in your datafile.

    I hope this helps! Please let us know if you have any further questions.

    Best,

    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • hello,

    how do you make a choice forced on any item/widget ? i can not see how the consent form for example is checking that the box have been checked before continuing to the sequence, or getting back on the consent form.

    many thanks

  • edited 7:26PM
  • Excellent !
    Thank you

Sign In or Register to comment.