Difference between revisions of "Question getOpenPartAnswer"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Questionnaire_Functions]]
 

 

  

Revision as of 08:47, 22 March 2011



Question_getOpenPartAnswer

Get open value of a single/multi question (return empty string with other question types)

Syntax

Question_getOpenPartAnswer(questionLabel, answerOptionValue)

Arguments

  • questionLabel: is a string expression. It is the "qualified label" of a question, which means that if there is no questionnaire name specified, it will use the current answer sheet's questionnaire
  • answerOptionValue: is a number expression. It is the value of the answer option which has the open part

Return value

string

Example

string q1_value = Question_getOpenPartAnswer("Q1", 1);

string q2_value = Question_getOpenPartAnswer("My project\\Another Questionnaire\\Q2", 3);

Availability

Version 5.6