This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:create:functions:casetoken [24.01.2015 12:19] – [Example] alexander.ritter | en:create:functions:casetoken [30.03.2026 14:45] (current) – admin | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| '' | '' | ||
| - | Each questionnaire has an internal ID (token), which enables it to be identified during the course of the survey. The ID also appears after " | + | Each questionnaire has an internal ID (token), which enables it to be identified during the course of the survey. The ID also appears after " |
| - | Using this ID, it is possible to leave the current questionnaire to do something else (e.g. surf another website, and then subsequently comes back and resume the questionnaire. The prerequisite is that the external website saves the internal ID, and submits '' | + | Using this ID, it is possible to leave the current questionnaire to do something else (e.g. surf another website, and then subsequently comes back and resume the questionnaire. The prerequisite is that the external website saves the internal ID, and submits '' |
| **Note:** The external website has to actively accept the token, save it, and add to it to the URL back to the questionnaire. As a rule, this is only possible if the external website uses a server-side scripting language (e.g. PHP or AS). Saving and returning the ID has to then be separately implemented on the external website. | **Note:** The external website has to actively accept the token, save it, and add to it to the URL back to the questionnaire. As a rule, this is only possible if the external website uses a server-side scripting language (e.g. PHP or AS). Saving and returning the ID has to then be separately implemented on the external website. | ||
| Line 16: | Line 16: | ||
| ===== Example ===== | ===== Example ===== | ||
| - | In the following example, the questionnaire ID (token) and case number are submitted to an external website '' | + | In the following example, the questionnaire ID (token) and case number are submitted to an external website '' |
| <code php> | <code php> | ||
| - | redirect(' | + | redirect(' |
| </ | </ | ||
| Line 26: | Line 26: | ||
| <code php> | <code php> | ||
| - | redirect(' | + | redirect(' |
| </ | </ | ||