GetAnswerOptionText
getAnswerOptionText
Returns the text of an answer option with value in the question named label in the current questionnaire
Syntax
getAnswerOptionText(questionLabel, answerOptionValue)
Arguments
questionLabel: a string expression. It is the label of a question
answerOptionValue: a numeric expression. It is the value of the answer option
Return type
string
Example
string text = getAnswerOptionText("Q1", 1);
print(text);
Availability
Version 5.2