Dear reader,
in my study I need to adapt text modules according to the previously made anwers by participants. Those previously given answers are 6 variables (C006_0X) within one question (C006) which are measured on a five-point likert scale.
What I would like to do is that participants get
- Text A if they answer the 6 items with 4 or 5 on the likert scale
- and Text B if they indicate 1,2, or 3.
Question C006 and text modules should be displayed on different, but consecutive, pages.
The code I used is the following:
if ((value('C006_01') <= 3) or
(value('C006_07') <= 3) or
(value('C006_03') <= 3) or
(value('C006_04') => 3) or
(value('C006_05') <= 3) or
(value('C006_06') <= 3)){
question('E106');
} else {
question('E104');
}
Unfortunately Sosci gives me the following error: "Im PHP-Code trat ein Fehler auf.
Fehler im Fragebogen: Befehl oder String (Text) nicht abgeschlossen"
Can you help me spot the mistake?
Thanks in advance!