Difference between revisions of "GetSubQuestionText"
(jrfconvert import) |
(jrfconvert import) |
||
Line 4: | Line 4: | ||
====getSubQuestionText==== | ====getSubQuestionText==== | ||
− | + | Returns the text of the Subquestion with index in the question named label in the current questionnaire | |
'''Syntax''' | '''Syntax''' | ||
− | getSubQuestionText('' | + | getSubQuestionText(''questionLabel, gridNumber'') |
'''Arguments''' | '''Arguments''' | ||
− | '' | + | ''questionLabel'': is a string expression. It is the label of the question. |
− | '' | + | ''gridNumber'': is the index of the sub question in the sub question list. |
− | |||
− | |||
'''Return type''' | '''Return type''' | ||
Line 24: | Line 22: | ||
'''Example''' | '''Example''' | ||
− | + | string text = getSubQuestionText("MultiGrid_Question", 2); | |
− | |||
− | string text = getSubQuestionText(MultiGrid_Question, | ||
print(text); | print(text); | ||
Line 32: | Line 28: | ||
'''Availability''' | '''Availability''' | ||
− | Version | + | Version 5.2 |
__NOTOC__ | __NOTOC__ | ||
− | <!-- imported from file: | + | <!-- imported from file: 642.htm--> |
Revision as of 10:00, 7 March 2011
getSubQuestionText
Returns the text of the Subquestion with index in the question named label in the current questionnaire
Syntax
getSubQuestionText(questionLabel, gridNumber)
Arguments
questionLabel: is a string expression. It is the label of the question.
gridNumber: is the index of the sub question in the sub question list.
Return type
string
Example
string text = getSubQuestionText("MultiGrid_Question", 2);
print(text);
Availability
Version 5.2