Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:paneldata [26.06.2016 14:18] – created s1305605en:create:functions:paneldata [26.06.2016 14:46] – [Example] s1305605
Line 5: Line 5:
 The command ''panelData()'' provide the allocation of a participant to a subgroup (index 0) and the data, which is given as //user defined data// in the address records, in an array (indices 1 to 5). The command ''panelData()'' provide the allocation of a participant to a subgroup (index 0) and the data, which is given as //user defined data// in the address records, in an array (indices 1 to 5).
  
-**Important:** The function provide a value only, if the interview was started by click at the personalized link in a mass mail (else ''zero''). In case the participant is forwarded automatically to the survey, after an Opt-In-Confirmation, ([[en:create:Multi-Wave Surveys with Self-Recruited Respondents]]), than this is equivalent to the click at the personalized link in a mass mail. +**Important:** The function provide a value only, if the interview was started by click at the personalized link in a mass mail (else ''zero''). In case the participant is forwarded automatically to the survey, after an Opt-In-Confirmation, ([[:en:survey:opt-in-live]]), than this is equivalent to the click at the personalized link in a mass mail. 
  
  
Line 14: Line 14:
 <code php> <code php>
 $data = panelData(); $data = panelData();
-if ($data === zero) {+if ($data === null) {
   // error message and stop of the survey,   // error message and stop of the survey,
   // if the survey was not opened by a serial letter   // if the survey was not opened by a serial letter
en/create/functions/paneldata.txt · Last modified: 07.09.2022 21:00 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