Question getOpenPartAnswer
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