Difference between revisions of "GotoQuestionnaire"

From Catglobe Wiki
Jump to: navigation, search
(gotoQuestionnaire)
(gotoQuestionnaire)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
=gotoQuestionnaire=

+
[[Category:Questionnaire Functions]]
 +
__NOTOC__
  
====gotoQuestionnaire====
+
Go to the newest uncompleted QAS of another questionnaire. This newest uncompleted QAS is also belong to the current respondent.
 
 
Goto a questionnaire specified by a string (go to the newest uncompleted QAS of QAS's User)
 
  
 
'''Syntax'''
 
'''Syntax'''
  
gotoQuestionnaire(''questionnaire_spec'')
+
gotoQuestionnaire(''questionnaire_qualified_name'')
  
 
'''Arguments'''
 
'''Arguments'''
  
''questionnaire_spec:'' Is a string expression.
+
''questionnaire_qualified_name:'' Is a string expression.It must be a qualified name of the questionnaire
  
 
'''Return type'''
 
'''Return type'''
  
 
empty
 
empty
 +
 +
'''See also'''
 +
 +
*GotoQuestion function
  
 
'''Examples'''
 
'''Examples'''
  
//goto to the first question belonging to another //questionnaire
+
<source lang="javascript">
 +
/* Go to the newest uncompleted QAS of another questionnaire: TestQnaire
 +
  And this newest uncompleted QAS is also belong to the current respondent. */
  
gotoQuestionnaire("System\\MyProject.AnotherQuestionnaire");
+
gotoQuestionnaire("System\\TestQnaire");
  
'''Availability'''
+
</source>
 
 
Version 4.8
 
__NOTOC__
 
<!-- imported from file: 627.htm-->
 

Latest revision as of 06:19, 22 December 2011

gotoQuestionnaire


Go to the newest uncompleted QAS of another questionnaire. This newest uncompleted QAS is also belong to the current respondent.

Syntax

gotoQuestionnaire(questionnaire_qualified_name)

Arguments

questionnaire_qualified_name: Is a string expression.It must be a qualified name of the questionnaire

Return type

empty

See also

  • GotoQuestion function

Examples

/* Go to the newest uncompleted QAS of another questionnaire: TestQnaire
   And this newest uncompleted QAS is also belong to the current respondent. */

gotoQuestionnaire("System\\TestQnaire");