0 votes
in SoSci Survey (dt.) by s235570 (190 points)

Wie lautete der PHP-Filter wenn der Teilnehmer folgende Antworten ALLE bei der Frage AB01 ausgewählt hat: AB01_01, AB01_02, AB01_03

aber NICHT AB01_04 oder AB01_05

???

danke!

1 Answer

0 votes
by SoSci Survey (305k points)

Eine mögliche Formulierung wäre folgende:

if (
  (value('AB01_01') == 2) &&
  (value('AB01_02') == 2) &&
  (value('AB01_03') == 2) &&
  (value('AB01_04') == 1) &&
  (value('AB01_05') == 1)
) {
  // ...
}

2 = ausgewählt in der Mehrfachauswahl, 1 = nicht ausgewählt.

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

...