goToParent()

The function goToParent() redirects the respondent back to the questionnaire (and record) from which he was redirected to the current questionnaire using goToQuestionnaire().

void|string goToParent([string Mode], [mixed Data])

The function either redirects the respondent directly to the parent questionnaire or (if 'url' mode is used) returns the URL with which the respondent can return to the parent questionnaire.

Note: If the current interview was not started by goToQuestionnaire() an error is displayed.