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

0 votes

PHP Code

quotaOKR = [ 1 == 195 ];

quotaIND = [ 1 == 195 ];

$OKR = value('ZS022');
$IND = value('ZS06');

$casesOKR = statistic('count', 'ZS022', $OKRGroup);
$maxPerOKR = $quotaOKR[$OKRGroup];

$casesIND = statistic('count', 'ZS06', $INDGroup);
$maxPerIND = $quotaIND[$INDGroup];

if (($casesOKR >= $maxPerOKR)|| ($casesIND >= $maxPerIND)) {

if ((caseTime('begin') < 420)) {

There is an error in the PHP code:
Questionnaire Error: Command or string (text) unfinished

A command, e.g. question() is missing a semicolon or
a string (text in quotation marks) is unclosed or
the string itself contains an apostrophe, e.g. html('Let's do it!'); – if the latter is the case, please type in a backslash () first.
Perhaps the opening and closing braces for the statement blocks are mismatched.
PHP code

001 namespace s2survey\questionnaire\environment;
003 quotaOKR = [ 004 1 => 195 005 ];

Können Sie mir helfen was die Ursache für den Error ist?

Vorab herzlichen Dank

closed as a duplicate of: external panel - quota
in SoSci Survey (dt.) by s210296 (270 points)
closed by SoSci Survey