0 votes
in SoSci Survey (English) by s251320 (160 points)

Thank you very much!
I need it on a different page, the problem is, I need it a few pages before MQ04 appears, not after the question (MQ04) is shown (IN03 is a definition I must show two pages before the question MQ04 is asked).
By placing the reduced filter on page 3 I get it right after the question.

Could you please help me to place it before?

Thanks again

related to an answer for: Question regarding the random generator

1 Answer

0 votes
by SoSci Survey (305k points)

Place the PHP code

if (value('RG01') == 4) {
  text(‘IN03’);
}

on whatever page you want the text to appear. If there is nothing else on the page, it will be skipped, if the text is not shown (as long as you did not change that behavior in the questionnaire settings).

Then testing the questionnaire, make sure to start on or visit the page with the random generator RG01 before you go to that PHP code. Otherwise, SoSci Survey will tell you, that no code was drawn from the random generator, yet.

You could also place the rnadom generator on that page (above the PHP code) once more. It's not elegant, but it will still work.

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

...