0 votes
in SoSci Survey (English) by s136449 (140 points)

I am using this PHP code

// Screenout with individual text
if (value('TR03_08') > 1) {
  text('sendoff');  // Show send-off
  buttonHide();  // Hide the next-button
  pageStop();  // In case other content shows with the filter
}

And am getting this when I test the questionnaire and try to get filtered out as well as when I try to not get filtered out.

Questionnaire Error (page 5)
Warning: The function floatval() is disabled for the questionnaire.
Questionnaire Error (page 5)
The PHP code contains invalid function calls or keywords. It was ignored.
Questionnaire Error (page 5)
Security limitations disallowed loading the PHP functions that have been defined for this questionnaire.

1 Answer

0 votes
by SoSci Survey (305k points)

The PHP code does not fit the error message.

My best guess is that you have a different PHP code on page 5 of your questionnaire that causes the issues. Please make sure that you are running the correct questionnaire (check for multiple questionniares at Compose Questionnaire -> Manage Questionnaires and in the debug information) and look the PHP code on page 5.

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

...