I’m a new user and I have been enjoying developing my experimentso far but I have hit a dead end. In my experiment I have a simple survey inwhich people select items (text) from a list of 20 possible options. What Iwant to do is show on subsequent pages the individual items the participantsselected and ask questions relating to them. Is this possible?
Additionally, after the participants select the items, is itpossible to show a single selected item and a single non-selected item on thesame page?
For starters check out the "Create Stimuli from responses to a questionnaire" script available at the Inquisit Task Library:
Then go on to study these threads:
That should get you going.
Thanks for your quick response. I have taken your advice and have ended up with a paradigm that is almost functioning perfectly. I think my problem is a minor one but after hours of hacking away I just can't figure it out. When I'm selecting the items in the survey I need to click "finish" twice before it shows me my selected and unselected items. Is there an easy fix for this?
Happens because you're actually having <surveypage grouppage> run twice:
(1) First time via
<survey selectionphase>/ pages = [1=grouppage][...]</survey>
(2) Second time via
<block showchoices>/ trials = [1 = grouppage; 2 = summary]</block>
Note that the <survey> element is just a special kind of <block> element. Similarly, the <surveypage> element is just a special type of <trial> element. To fix things, eliminate grouppage from <block showchoices> and set up an <expt> element to run <survey selectionphase> and <block showchoices> in the correct order:
<expt>/ blocks = [1=selectionphase; 2=showchoices][...]</expt>
<block showchoices>/ trials = [1 = summary]</block>
Sorry to keep asking, I just gave it a go and now and it's taking only one attempt to select the items but no output is coming up when i'm trying to show choices.
(1) <survey selectionphase> is defined twice in the script you attached.
(2) After removing the redundant <survey> element, the script runs fine on my system (tested with 188.8.131.52).
Dave you are a champion. Thank you very much.
Works now, I take it? In any case, good luck with your further programming endeavors!