Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
en:create:functions:redirect [06.12.2014 14:53] – [redirect()] alexander.ritter | en:create:functions:redirect [06.12.2014 14:59] – [redirect()] alexander.ritter |
---|
* //continue//\\ If no other parameters are specified apart from the URL, the interview will be terminated with the command (FINISHED=1). This is particularly useful if you want to quote the participants and use the function [[:en:create:functions:statistic|statistic()]] to do so. If ''true'' is specified as the second parameter, the respondent can continue the questionnaire later on the following (!) page. | * //continue//\\ If no other parameters are specified apart from the URL, the interview will be terminated with the command (FINISHED=1). This is particularly useful if you want to quote the participants and use the function [[:en:create:functions:statistic|statistic()]] to do so. If ''true'' is specified as the second parameter, the respondent can continue the questionnaire later on the following (!) page. |
| |
**Note:** ''redirect'' should always be alone on a questionnaire page. Other commands (e.g. a question) put before this command are in fact executed, but nothing is shown. Commands that are put after the ''redirect()'' are ignored completely. | **Note:** ''redirect'' should always be by itself on a questionnaire page. Although other commands (e.g. a question) put before this command are executed, nothing is shown. Commands that are put after the ''redirect()'' are ignored completely. |
| |
**Note:** In order to ensure that a survey can be continued at a later point in time, the other internet page must not only send the participant back, but also transfer the interview ID. For example, %%https://www.soscisurvey.de/projekt?i=WBE0R7V8%% -- a subsequent call up via personalized link with authorization code is also possible. | **Note:** In order to ensure that a survey can be continued at a later point in time, the other internet page must not only send the participant back, but also transfer the interview ID. For example, %%https://www.soscisurvey.de/projekt?i=WBE0R7V8%% -- a subsequent call up via personalized link with authorization code is also possible. |
| |
**Tip:** If the participant uses another internet page in the meantime and subsequently should return to the questionnaire, the other internet page can also send data by the interview ID (see above). This can be read on the page after the ''redirect()'' by using ''[[:en:create:functions:readget|readGET()]]'' and saved in the data record via ''[[:en:create:functions:put|put()]]''. | **Tip:** If the participant uses another internet page in the meantime and subsequently should return to the questionnaire, the other internet page can also send data besides the the interview ID (see above). This can be read on the page after the ''redirect()'' by using ''[[:en:create:functions:readget|readGET()]]'' and saved in the data record via ''[[:en:create:functions:put|put()]]''. |
| |
| |