Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision |
en:create:functions:paneldata [26.06.2016 14:18] – created s1305605 | en:create:functions:paneldata [26.06.2016 14:46] – [Example] s1305605 |
---|
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. |
| |
| |
<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 |