Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:create:functions:redirect [06.12.2014 14:59]
alexander.ritter [redirect()]
en:create:functions:redirect [29.09.2020 17:02] (current)
sophia.schauer [redirect()]
Line 11: Line 11:
 **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:** ''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:** If the second parameter is not specified or set to ''false'', the questionnaire is marked as completed. This means that the dataset is counted by the function ''[[: en:create:functions:statistic]]'' for example. 
 + 
 +**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 (please refer ''[[:en:create:functions:casetoken]]'' and ''[[:en:create:placeholders#predefined_placeholders|%caseToken%]]''). 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 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()]]''. **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()]]''.
en/create/functions/redirect.1417874350.txt.gz · Last modified: 06.12.2014 14:59 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki