Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
en:create:functions:casenumber [24.01.2015 15:09] – [Example 1] alexander.ritter | en:create:functions:casenumber [24.01.2015 15:14] – [Example 2] alexander.ritter |
---|
| |
<code php> | <code php> |
html('<p>This is the questionnaire's no. %caseNumber%</p>'); | html('<p>This is the questionnaire no. %caseNumber%</p>'); |
</code> | </code> |
| |
===== Example 2 ===== | ===== Example 2 ===== |
| |
Or, the survey is composed of several questionnaires, because the second questionnaire (stimulus analysis) can be filled in multiple times, while the first questionnaire (master data) is only filled out once. | Or, the survey is composed of several questionnaires, because the second questionnaire (stimulus analysis) can be filled out multiple times, while the first questionnaire (master data) is only filled out once. |
| |
The various data records belonging to a participant can be matched with the case number. The following PHP code in the first questionnaire leads the participant to another questionnaire, and submits the case number as a reference ([[:en:survey:url|URL to the Questionnaire]]). | The various different data records belonging to a participant can be assigned with the case number. The following PHP code in the first questionnaire leads the participant to another questionnaire, and submits the case number as a reference ([[:en:survey:url|URL to the Questionnaire]]). |
| |
| |