bool SetTopicWithAdditionalText(int inQuesIdx, int inTopicIndex, String inText)
Description
Sets topic other spec., Relevant for Single/Multi Choice Grid questions
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inQuesIdx | Int | The question index |
inTopicIndex | Int | the topic index |
inText | string | the text to set |
Return Type
bool
Example
SetTopicAdditionalText(QRef(2), 2, CreateAnswerWithAdditional(2, ""), CreateAnswerWithAdditional(3, "Text to answer c"), CreateAnswerWithAdditional(5, "Text to answer e"))
will set answers 2, 3, and 5 in question 2, along with the "Text to answer c" as the additional text to answer 3 and the "Text to answer e" as the additional text to answer 5 topic 2.
Comments
Please sign in to leave a comment.