Difference between revisions of "GotoQuestion"

From Catglobe Wiki
Jump to: navigation, search
(gotoQuestion)
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.
  
 
'''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-->
 

Revision as of 05:14, 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.

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