Difference between revisions of "GetAnswerOptionText"
Line 1: | Line 1: | ||
[[Category:Questionnaire_Functions]] | [[Category:Questionnaire_Functions]] | ||
− | + | {{HelpFiles}} | |
====getAnswerOptionText==== | ====getAnswerOptionText==== |
Revision as of 10:47, 12 December 2011
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