This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
en:create:functions:repeatpage [19.11.2014 13:40] – alexander.ritter | en:create:functions:repeatpage [28.11.2014 11:44] – alexander.ritter | ||
---|---|---|---|
Line 7: | Line 7: | ||
* //Text Element// (optional)\\ If the ID of a text element is specified (created in **Text Elements and Labels**), then this text element is displayed as information at the beginning of the repeated page. The text element is formatted in exactly the same way as other notifications regarding missing/ | * //Text Element// (optional)\\ If the ID of a text element is specified (created in **Text Elements and Labels**), then this text element is displayed as information at the beginning of the repeated page. The text element is formatted in exactly the same way as other notifications regarding missing/ | ||
- | This function is particularly useful if the data submitted by the respondent is being assessed for validity. Many checks can be activated directly in the question or item (e.g. check whether all items in a scale were filled in, or if a certain text format was adhered to), but sometimes the check has to be programmed using PHP code. If this check turns out negative, a text element with a more suitable error message can be displayed using '' | + | This function is particularly useful if the data submitted by the respondent is being assessed for validity. Many checks can be activated directly in the question or item (e.g. check whether all items in a scale were filled in, or if a certain text format was adhered to), but sometimes the check has to be programmed using PHP code. If this check turns out to be negative, a text element with a more suitable error message can be displayed using '' |
**Note:** In order for repeatPage() to work correctly, the check for invalid answers must be put at the beginning of the questionnaire page which follows the checked question! | **Note:** In order for repeatPage() to work correctly, the check for invalid answers must be put at the beginning of the questionnaire page which follows the checked question! |