Difference between revisions of "GotoQuestion"
(→gotoQuestion) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Questionnaire_Functions]] | [[Category:Questionnaire_Functions]] | ||
− | + | =gotoQuestion= | |
− | + | Go to a specific question in the answering questionnaire or in another questionnaire.<br /> | |
− | + | In the case of go to a specific question in another questionnaire. The current respondent must have the newest uncompleted QAS in that questionnaire. | |
− | Go to | ||
'''Syntax''' | '''Syntax''' | ||
− | gotoQuestion('' | + | gotoQuestion(''questionnaire_qualified_name'') |
'''Arguments''' | '''Arguments''' | ||
− | '' | + | ''questionnaire_qualified_name'': Is a string expression. It must be a qualified name of the question |
'''Return type''' | '''Return type''' | ||
empty | empty | ||
+ | |||
+ | '''See aslo''' | ||
+ | |||
+ | *[[GotoQuestionnaire]] function | ||
'''Examples''' | '''Examples''' | ||
− | // | + | <source lang="javascript"> |
+ | //go to a question belonging to the current questionnaire | ||
gotoQuestion("DomesticAnimal"); | gotoQuestion("DomesticAnimal"); | ||
− | // | + | //go to a question belonging to another questionnaire |
gotoQuestion("System\\MyProject\\AnotherQuestionnaire\\DomesticAnimal"); | gotoQuestion("System\\MyProject\\AnotherQuestionnaire\\DomesticAnimal"); | ||
− | + | </source> | |
− | |||
− | |||
− | |||
− | |||
− | < |
Latest revision as of 05:20, 22 December 2011
gotoQuestion
Go to a specific question in the answering questionnaire or in another questionnaire.
In the case of go to a specific question in another questionnaire. The current respondent must have the newest uncompleted QAS in that questionnaire.
Syntax
gotoQuestion(questionnaire_qualified_name)
Arguments
questionnaire_qualified_name: Is a string expression. It must be a qualified name of the question
Return type
empty
See aslo
- GotoQuestionnaire function
Examples
//go to a question belonging to the current questionnaire
gotoQuestion("DomesticAnimal");
//go to a question belonging to another questionnaire
gotoQuestion("System\\MyProject\\AnotherQuestionnaire\\DomesticAnimal");