Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:create:functions:gotopage [12.01.2015 21:31] – admin | en:create:functions:gotopage [27.06.2017 08:45] (current) – [Example] admin |
---|
{{:de:create:functions:scr.gotopage.pageid.png?nolink|Entering a Page ID}} | {{:de:create:functions:scr.gotopage.pageid.png?nolink|Entering a Page ID}} |
| |
* The command ''goToPage('end')'' ends the survey immediately and shows the last page ([[#end_interview|End Questionnaire]]). | * The command ''goToPage('end')'' ends the survey immediately and shows the last page ([[#end_questionnaire|End Questionnaire]]). |
* The command ''goToPage('next')'' always jumps to the next page in the questionnaire. | * The command ''goToPage('next')'' always jumps to the next page in the questionnaire. |
| |
===== Example ===== | ===== Example ===== |
| |
See also [[:en:create:filters|Filters and Conditional Questions]] | See also [[:en:create:filters]] |
| |
The following example assumes that a multiple-choice selection ''AB02'' with 8 items was offered on page 1 of the questionnaire. If the participant selected option no. 7 (''AB02_07''), page 2 of the questionnaire should be skipped by using ''goToPage()''. Page 3 in the questionnaire -- the jump destination -- has the page ID "pa". | The following example assumes that a multiple-choice selection ''AB02'' with 8 items was offered on page 1 of the questionnaire. If the participant selected option no. 7 (''AB02_07''), page 2 of the questionnaire should be skipped by using ''goToPage()''. Page 3 in the questionnaire -- the jump destination -- has the page ID "pa". |