0 votes
in SoSci Survey (dt.) by s224311 (160 points)
closed by SoSci Survey

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!

closed with the note: There has been no response to the question in the comment, so we assume that the issue is already solved.
by SoSci Survey (282k points)
> - 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.

What if they answer 3 items with "4" and 3 items with "3"?

Do you wnat to work with the scale average value, or with the single items' values?

> Befehl oder String (Text) nicht abgeschlossen

Hard to tell as long as you do not paste the full error message that indicates the line with the error.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...