By Wenkuo - 1/17/2016
Hi,
There are two questions that I am currently stuck on.
I have 5 folders of pictures.
I know that I can tell inquisit to use pictures of a given folder in this way:
<pictures a>
/1 = "folder 1/picture a.jpg"
</picture>
What I would like to know, however, is if there is an elegant solution to tell inquisit to select a different folder, depending on the participant number?
For example:
If the participant number is 3, I want to use pictures from folder 1. If the participant number is 2, use pictures from folder 4, etc.
I currently do it by using 4 slightly different versions of the task, but I would like to combine it all into a single version if possible.
The other question I have concerns the following:
<radiobuttons faces_danger_recall> / caption = "" / options = ("Veilig ", "Gevaarlijk") / required = true / position = (30%, 80%) / orientation = horizontal </radiobuttons>
<radiobuttons faces_location_recall> / caption = "" / options = ("Huis ", "Appartement") / required = true / position = (31%, 80%) / orientation = horizontal </radiobuttons>
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Placing the recall questions in a surveypage &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
<surveypage faces_danger_recall> / questions = [1 = faces_danger_recall] / stimulusframes = [1 = faces_no_info_default] / showpagenumbers = false / showquestionnumbers = false / showmousecursor = true / finishlabel = "Volgende" / nextbuttonposition = (90%, 90%) / fontstyle = ("Times New Roman", 36, false, false, false, false, 5) </surveypage>
<surveypage faces_location_recall> / questions = [1 = faces_location_recall] / stimulusframes = [1 = faces_no_info_default2] / showpagenumbers = false / showquestionnumbers = false / showmousecursor = true / finishlabel = "Volgende" / nextbuttonposition = (90%, 90%) / fontstyle = ("Times New Roman", 36, false, false, false, false, 5) </surveypage>
I was wondering if there is any way to change the spacing between the options of the radiobuttions. I know that I can use /itemspacing to change the spacing between multiple items. But is there a way to do this within radiobuttons itself? And if so, does it matter if the item is shown horizontally of vertically? Right now, I just use empty spaces to space them out, but it would be nice if there is a more elegant way.
|
By Dave - 1/17/2016
> What I would like to know, however, is if there is an elegant solution to tell inquisit to select a different folder, depending on the participant > number?
You can do that using conditional <include> elements. See. e.g. https://www.millisecond.com/forums/FindPost10316.aspx
> I know that I can use /itemspacing to change the spacing between multiple items. But is there a way to do this within radiobuttons itself?
No, there isn't.
|
By Wenkuo - 1/20/2016
Hi Dave,
Thank you for the answer!
Also, I was hoping that you could explain something for me. It concerns the following piece of code:
<text animal_location_question_text> / items = ("Where do you think the animal on the picture lives?") / position = (50%, 55%) / fontstyle = ("Times New Roman", 28, false, false, false, false, 5) </text>
<radiobuttons animal_location_options> / caption = "" / options = ("North America", "South America" , "Europe", "Asia", "Africa", "Australia") / required = true / position = (5%, 60%) / orientation = horizontal / fontstyle = ("Times New Roman", 28, false, false, false, false, 5) / order = random </radiobuttons>
<surveypage animal_location_answer> / questions = [1 = animal_location_options] / stimulusframes = [1 = animal_pictures; 2 = animal_location_question_text] / showpagenumbers = false / showquestionnumbers = false / showmousecursor = true / finishlabel = "Volgende" / nextbuttonposition = (90%, 90%) / fontstyle = ("Times New Roman", 28, false, false, false, false, 5) </surveypage>
Within <radiobuttons>, whenever I use /order = random, the options appear all jumbled/overlapped on screen. For example, South America overlaps with North America at times. Yet, when I remove the /order = random, the options appear clearly on screen, without any overlap/jumbling.
I've tried placing the options in different orders, without using /order = random, and none of the problems that I get when using /order = random appears. So I was wondering why this happens?
|
By Dave - 1/20/2016
This has to do with how Inquisit tries to determine how much on-screen space to allocate for each option. Those assumptions partly break down in your case due to the greatly varying length of the options (e.g. "North America" vs. "Asia").
Workarounds: (1) Use a fixed order. (2) Switch the /orientation to vertical. (3) Artificially make the length of each option approximately equal using tabs:
<radiobuttons animal_location_options> / caption = "" / options = ("North America", "South America", "Europe~t~t", "Asia~t~t", "Africa~t~t", "Australia~t~t") / required = true / position = (5%, 60%) / orientation = horizontal / fontstyle = ("Times New Roman", 2.5%, false, false, false, false, 5) / order = random </radiobuttons>
|
By Wenkuo - 1/20/2016
Hi Dave,
Thank you for the fast and apt reply!
|
|