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:gotopage [16.12.2014 09:35] – alexander.ritter | en:create:functions:gotopage [15.01.2015 20:24] – [goToPage()] alexander.ritter |
---|
{{: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. |
| |
**Tip:** If you want to display a page again because the data given by the participant was incomplete, use the function ''[[:en:create:functions:repeatpage|repeatPage()]]'' instead of '''goToPage()'', . This means the Back button remains fully functional. | **Tip:** If you want to display a page again because the data given by the participant was incomplete, use the function ''[[:en:create:functions:repeatpage|repeatPage()]]'' instead of '''goToPage()'', . This means the Back button remains fully functional. |
| |
**Tip:** Please also be aware of the function ''[[:en:create:functions-proc#setnextpage|setNextPage()]]''. This function does not jump directly to the specified page, but only after the participant has clicked on "Next". | **Tip:** Please also be aware of the function ''[[:en:create:functions:setnextpage|setNextPage()]]''. This function does not jump directly to the specified page, but only after the participant has clicked on "Next". |
| |
| |