0 votes
in SoSci Survey (English) by s276545 (110 points)

Is it possible to add a random generated code/key to the last page?
I'm able to get one on the second to last page but not on the "end page". I want to give the participants a unique code when finished.


1 Answer

0 votes
by SoSci Survey (309k points)

Please insert another page before the "last page" - if you put the buttonHide() function there, and some goodbye text, it will look like the last page.

The only difference is that FINISHED wil not be set to 1 in the dataset. This, however, does not limit usability of the data.

by s276545 (110 points)
edited by s276545
I get a warning message when i try to do this. What am I doing wrong?

Warning: The function buttonHide() is disabled for the questionnaire.

Warning: Some functions are not suitable or allowed in the PHP for Processing Responses.
by SoSci Survey (309k points)
You got into the wrong input field: Use a "PHP Code" input, not the "PHP for processing responses".

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