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

0 votes

Thank you for your suggestion! I took away the brackets around %encID%. Other brackets are correct.

The URL is called by redirect but it says there is a mistake, to be precise it says:

Falsche oder Fehlende Übergabewerte, die Seite kann leider nicht angezeigt werden. Wrong/missing parameters, this page can not be displayed.

And URL looks like that: http://www.infovalidator.com/ic/survey.php?autoAnswer[292711][0]=0&encID=
There is nothing there at placeholder's place so no ID number at the end.

Thank you!

related to an answer for: Problem with a redirect link
in SoSci Survey (English) by s083603 (130 points)

1 Answer

0 votes

According to your original question, you're using this PHP code in the very beginning of your questionnaire:

$id = readGET('encID');
replace('%encID%', $id);

I'd recommend to use a question "device and transmittes variables" instead of the readGET(). You can specifiy that this question shall read the "GET variable" encID. Please make sure, that the question is placed in the first page of the questionnaire.

If your questionnaire is called with a ?encID=.... or &encID=.... (see URL to the questionnaire about & and ?), than a value shall be stored that you can use as placeholder in your redirect. If that value is absent, something's wrong with the URL you use to start the questionnaire.

Without known the starting URL that you have used for your tests, I cannot identify the error for sure. Yet, issues with the initial URL (that must contain the respondent code) is not unlikeley. It's probably also the cause of the problems you encountered so far.

Let's clarify the redirect, as soon as the encID is visible in the data.

by SoSci Survey (76.5k points)
Redirect link
...