0 votes
in SoSci Survey (English) by s176652 (130 points)
edited by SoSci Survey

Hello dear community,

I constructed a questionnaire and installed a filter during the creation process. Filter question = => End of the Interview (Screenout)
Then I put together the question boot and wrote a PHP code to activate the filter. I would like the question SD02 to be closed when selecting item 5.
Text:

// Screenout mit individuellem Text
if (value("SD02_05")==5); {
goToPage("end");
}

Probelm: No matter what is clicked (Item 1,2,3,4,5), the questionnaire ends.

I have inserted a blank page and placed the code there and placed it along with another question on the next page. But neither of these works.

Thank you for your help!

1 Answer

0 votes
by SoSci Survey (302k points)

Then I put together the question boot and wrote a PHP code to activate the filter.

Please so EITHER create a filter in the question OR use PHP code. They are alternatives.

No matter what is clicked (Item 1,2,3,4,5), the questionnaire ends.

Please state the exact filter that you defined in SD02.

Please also post the debug information that is displayed when you submit the page with SD02.

by s176652 (130 points)
When I choose the Filter instead of the Code following text appears (I just don´t get what to do then):
"No texts have yet been created in the question catalogue.

Please select a category in the question catalogue and add a text there by adding text. If you then go back to this question, you can select the text.

If you have already created a text in the meantime, please save this question to update the list."
by SoSci Survey (302k points)
To create a screenout, you need to create a "new text" within a section (!) of your choice. That text will be displayed as screenout. Usually, this is a different text than the one displayed on the last page.
asked Apr 16, 2021 in SoSci Survey (English) by s176652 (130 points)
closed Apr 23, 2021 by SoSci Survey
pictured comment on answer
by s176652 (130 points)
I made it! Thank you soo much! I was so desperate.

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

...