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!