Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
en:create:functions:pagestop [12.12.2014 12:56] – alexander.ritter | en:create:functions:pagestop [12.12.2014 17:34] – alexander.ritter |
---|
In the following example, ''pageStop()'' is combined with a screen out filter. This means further content (e.g. questions) can still be put on the screen out page. | In the following example, ''pageStop()'' is combined with a screen out filter. This means further content (e.g. questions) can still be put on the screen out page. |
| |
The filter shows the text element "screenout" and hides the next and back buttons for people who answered question SK01 with value 1 (younger than 18) or 7 (older than 65). This means the questionnaire is effectively terminated. | The filter shows the text element "screenout" and hides the Next and Back buttons for people who answered question SK01 with value 1 (younger than 18) or 7 (older than 65). This means the questionnaire is effectively terminated. |
| |
Other elements (questions, PHP code, ...) can be put on the page beneath this PHP code. They can also be put on the questionnaire page by drag & drop. ''pageStop()'' ensures these elements are no longer shown to participants who do not qualify. | Other elements (questions, PHP code, ...) can be put on the page beneath this PHP code. They can also be put on the questionnaire page by drag & drop. ''pageStop()'' ensures these elements are no longer shown to participants who do not qualify. |