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:setnextpage [24.01.2015 13:32] – [Tips] alexander.ritter | en:create:functions:setnextpage [24.01.2015 13:39] – [Example] alexander.ritter |
---|
**Tip:** If the participant should skip pages in the questionnaire, the function ''[[:de:create:functions:gotopage|goToPage()]]'' is normally easier to use. | **Tip:** If the participant should skip pages in the questionnaire, the function ''[[:de:create:functions:gotopage|goToPage()]]'' is normally easier to use. |
| |
**Tip:** The further course of the pages can also be determined with the function ''[[:en:create:functions:setpageorder|setPageOrder()]]''; not just the next page. | **Tip:** The order of which the pages will appear thereafter can also be determined with the function ''[[:en:create:functions:setpageorder|setPageOrder()]]''; not just the next page. |
| |
| |
| |
===== Beispiel ===== | ===== Example ===== |
| |
Das folgende Beispiel geht davon aus, dass auf Seite 2 des Fragebogens die Filterfrage "AB01" gestellt wurde. Der folgende PHP-Code auf Seite 4 sorgt dafür, dass Teilnehmer, welche die erste Antwortoption ausgewählt haben, die Seiten 5 bis 7 überspringen und erst auf Seite 8 (Kennung "tv_use") fortsetzen. | The following example assumes that the filter question "AB01" was asked on page 2 of the questionnaire. The following PHP code on page 4 ensures that participants who selected the first response option skip pages 5 to 7, and continue the questionnaire from page 8 (ID "tv_use") onwards. |
| |
<code php> | <code php> |