0 votes
ago in SoSci Survey (dt.) by s313711 (110 points)

In my survey there are 42 questions. In the beginning it worked perfectly well but now the question started to repeat themselves at the end of the survey with the answers the people had already given in the "first round". Its very annoying cause it makes the survey twice as long.

I use this php code.
question('B043'); // Zettel in zufälliger Reihenfolge ziehen
$pages = valueList('B043', NULL, 'label'); // Gezogene Zettel auslesen
$pages = array_unique($pages); // Doppelte Werte entfernen
setPageOrder($pages, 'posttest'); // Seiten als Seitenabfolge definieren

How can I fix that?

1 Answer

0 votes
ago by SoSci Survey (339k points)

now the question started to repeat themselves at the end of the survey

As you're using a page order, the most likely cause of the problem is breaking that page order.

Do you use any other PHP code in your questionnaire?Please note that the following functions will break a page order and define a new one:

setNextPage(), setPageOrder(), loopPage() and loopToPage()

To track down the issue, please use the debug mode, run the questionnaire. In the debug information you'll see information about the page order. Check if the information is correct and at what point it is not correct any more.

Alte make sure that the page ID posttest exists and is located where the questionnaire shall resume after completing the page order.

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

...