GetAnswerOptionText

From Catglobe Wiki
Revision as of 10:47, 12 December 2011 by Cg pham (talk | contribs)
Jump to: navigation, search


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