I trie to design experiment with 2 parts.
1:
Participants will get some questions and have to answer Yes/No on keybord for each one.
2:
Questions from first part, only where participants answered Yes will be showned with text box to fill
For example:
Do you like riding bus?
And if participant answer for this "Yes (D)", then in second part he will get the
same question (item:text) but trial will be a bit different (with one more item:text and one text box).
So how to "remember" item (text) and use it in further part of exp only if participant choose an answer on keyboard f.e.
"D" (Yes) ?
I'm strugling with that and have no idea where to start...
Bellow there's part of my code, but i stucked.
Thank you for the help
<expt>
/ preinstructions = (instrukcja1, instrukcja2)
/ blocks = [1=wstep;2=tribondy]
</expt>
<block wstep>
/ trials = [1=cwiczenie]
/ postinstructions = (koniec_cwicz)
</block>
<block tribondy>
/ trials = [1=tribond1;2=tribond2;3=tribond3]
/ postinstructions = (koniec)
</block>
<trial cwiczenie>
/ stimulusframes = [1=tribond_cw1]
/ validresponse = ("D";"K")
</trial>
<text tribond_cw1>
/ items = ("Cwiczenie")
/ position = (50%,50%)
</text>
<trial tribond1>
/ stimulusframes = [1=tekst]
/ validresponse = ("D";"K")
</trial>
<text tekst>
/ items = ("Tresc tribond 1")
/ position = (50%,50%)
</text>