I'm pretty new in the whole coding thing and I have a problem. Actually two problems..
People have 4 decks with cards. They chose cards and can either win or lose some money (Iowa Gambling Task; IGT)
After they played the IGT they are asked to toss a coin. In question1 they have to specify if head is deck A and B and tail is deck C and D or the other wayaround (head = C and D; tail = A and B)
Question2 then asks whether heads or tail was shown.
I have for conditions:
- c1: Subject chose A in question1 and A in question2
- c2: Subject chose A in question1 and B in question2
- c3: Subject chose B in question1 and A in question2
- c4: Subject chose B in question1 and B in question2
After the subject answered the first two questions I want to show a specific sentence depending on what the subject answered.
--> c1: 'You chose A and A which means you can now play with the decks A and B'
--> c2: 'You chose A and B which means you can now play with the decks C and D'
--> c3: 'You chose B and A which means you can now play with the decks C and D'
--> c4: 'You chose B and B which means you can now play with the decks A and B'
But I don't know how to do that. I tried so many things but I could get the whole thing to run correctly... I tried it with the /branch attribute and if-statements.
I tried to create a string variable and show the sentence with <% item.sentence.item %> depending on what the subject answered (if (radiobuttons.question1.response == "A") <% item.sentence.item %> (I tried this in like 100 different ways; I also tried text.sentence.text) but the /branch attribute doesn't accept <% %>.
after that I tried to use a variable which tried to specify it depending on the answers and than post the variable with the <%%>. Did'nt work either.
Does anyone have an idea how I could do it?
Is pretty similia to the first one (also with if statements)
I want to filter the subjects depending on the answer they gave to a specific question.
If a subject said YES to the answer then he/she has to answer the questions on surveypage 6.
If a ssubject said NO to the answer then he/she can directly go to surveypage 9.
I tried to do it like that:
/ pages = [1=coininstruction; 2=coindecision; 3=zufallpage; 4=sicherheit; 5=neu; 6=coininstruction_neu; 7=coindecision2; 8=zufallpage2; 9=defdecision; 10=entscheidung]
/ responsefontstyle = ("Arial", 1.75%)
/ itemfontstyle = ("Arial", 1.75%)
/ itemspacing = 2%
/ showpagenumbers = false
/ showbackbutton = false
/ finishlabel = "NEXT"
/ showquestionnumbers = false
/ branch = [if (radiobuttons.neu.response == "No") surveypage.defdecision]
But, again, it does not work like that. I don't even get an errormessage. Inquisit just totally ignores it.
Thank you for any ideas you guys have