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.

Question getOpenPartAnswer

From Catglobe Wiki



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