Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GotoQuestion: Difference between revisions

From Catglobe Wiki
Tungocman (talk | contribs)
Tungocman (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Questionnaire_Functions]]
[[Category:Questionnaire_Functions]]
{{HelpFiles}}
=gotoQuestion=
=gotoQuestion=


Go to to the question specified as a string (go to the newest uncompleted QAS of QAS's user), can be in another questionnaire.
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.


'''Syntax'''
'''Syntax'''


gotoQuestion(''question_spec'')
gotoQuestion(''questionnaire_qualified_name'')


'''Arguments'''
'''Arguments'''


''question_spec'': Is a string expression. It must be a qualified name.
''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'''


//goto to a question belonging to the current //questionnaire
<source lang="javascript">
//go to a question belonging to the current questionnaire


gotoQuestion("DomesticAnimal");
gotoQuestion("DomesticAnimal");


//goto to a question belonging to another //questionnaire
//go to a question belonging to another questionnaire


gotoQuestion("System\\MyProject\\AnotherQuestionnaire\\DomesticAnimal");
gotoQuestion("System\\MyProject\\AnotherQuestionnaire\\DomesticAnimal");
 
</source>
<!-- imported from file: 626.htm-->

Latest revision as of 04: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

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");