I want to create a survey consisting of approximately 60 pages. Every participant should get every page but I need them in a random order. I know that one can arrange trials in random order to form a block, is it also possible to arrange pages in random order to form a survey?
I'm a newbie, it's my first own script - I hope that you can help me and additionally, that I will be able to unterstand your answers :).
Thanks in advance
nij-kat:I want to create a survey consisting of approximately 60 pages. Every participant should get every page but I need them in a random order. I know that one can arrange trials in random order to form a block, is it also possible to arrange pages in random order to form a survey?
Yes. See e.g. https://www.millisecond.com/community/forums/p/670/1293.aspx#1293. Basically the exact same thing as with blocks and trials.
"To understand recursion, you must first understand recursion." - Unknown Zen Master
Thank you so much! (Hm, did not find that via the search function, sorry...) I did include the random order now but just detected a problem: I have one question that appears on every page, called "belang".
<radiobuttons belang>/ caption = "Hoe belangrijk is dit kenmerk voor jouw beslissing als je een kamer (in een studentenhuis/woongemeenschap) zoekt?helemaal niet neutraal erg belangrijkbelangrijk"/ options = ("-4 ", "-3 ","-2 ","-1 ", "0 ", "1 ", "2 ", "3 ", "4 ")/ orientation = horizontal/ required = true</radiobuttons>
<surveypage verwarming>/ caption = "Presentie van centrale verwarming"/ fontstyle = ("Verdana", -16, true, false, false, false, 5, 0)/ questions = [1=belang; 2=verwarming1; 3=verwarming2] / itemspacing = 50</surveypage>
It is included as first question on every page, like in the example above. It refers to the caption of the respective page, therefore it carries specific information every time it is answered. I just noticed that Inquisit "thinks" it's always the same question - on eyery page besides the first one is it possible to skip this question, but not any of the others - but I think only the last response will be recorded by Inquisit, won't it?
If you're going for a <survey> / <surveypage> setup, you unfortunately can't reuse questions. I.e. for 60 pages, you'll essentially have to include 60 versions of the same question in your script (e.g. <radiobuttons belang01> to <radiobuttons belang60>) and assign one of them to a unique surveypage.
Thanks again - I fixed it now. Of course I'm now coming up with another problem...
I want people to select exactly 10 out of 58 options and bring them in a order afterwards. In order to solve at least the first part, the selection, I experimented with the checkboxes element. The first problem is that 58 options don't fit on the screen. I could make them smaller, but then then they are too small. Is it possible to arrange them in two columns, still vertically oriented? Is it right that the limitation of 10 selections can be done using / range (10, 10)?
You will probably have to do something along the lines of the "Create Stimuli from responses to a questionnaire" script available at https://www.millisecond.com/download/samples/ (towards the bottom of the page).
Ah, yes, I considered that... I have to admit that this looked a bit too advanced to me - I did it a lot less elegant and will simply give a list on paper to the participants. But... I did something that disturbed my whole survey (was almost complete...). Now the survey(s) does not any longer appear in the Inquisit Object Browser, also the two pages outro1 und outro2 don't... I promise that this is the last cry for help ;).
The parser alerts you that
<radiobuttons outro1_1> /caption: Setting has invalid text 'erg negatief neutraal erg positief " '.
You should fix that. I.e. get rid of the stray quote character marked in red:
<radiobuttons outro1_1>/ caption = "Heb je alle vragen begrepen?"erg negatief neutraal erg positief"/ options = ("-4 ", "-3 ", "-2 ", "-1 ", "0 ", "1 ", "2 ", "3 ", "4 ")/ orientation = horizontal/ required = true</radiobuttons>
Were you ever able to figure out how to split up a long list of checkboxes into multiple vertical columns? I have a list of about 30 symptoms I need to split into two columns in order to fit them on a screen. Obviously subjects need to be able to check "all the symptoms that apply:"
See the "Create Stimuli from responses to a questionnaire" script available from the Task Library.