Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:casetoken [24.01.2015 12:16] – [caseToken()] alexander.ritteren:create:functions:casetoken [24.01.2015 12:19] – [Example] alexander.ritter
Line 16: Line 16:
 ===== Example ===== ===== Example =====
  
-In the following example, the questionnaire ID (token) and case number are submitted to an external website ''%%www.s2survey.net%%'', which the participant is sent to with ''[[:en:create:functions:redirect|redirect()]]''+In the following example, the questionnaire ID (token) and case number are submitted to an external website ''%%www.s2survey.net%%'', which the participant will be sent to by using ''[[:en:create:functions:redirect|redirect()]]''
  
  
Line 23: Line 23:
 </code> </code>
  
-Instead of using the functions, the respective placeholder could also just be used in the command ''redirect()''.+Instead of using functions, the corresponding placeholder could also just be used in the command ''redirect()''.
  
 <code php> <code php>
 redirect('https://www.s2survey.net/?tk=%caseToken%&num=%caseNumber%', true); redirect('https://www.s2survey.net/?tk=%caseToken%&num=%caseNumber%', true);
 </code> </code>
en/create/functions/casetoken.txt · Last modified: 21.04.2024 10:31 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki