bool SetTopicWithAdditionalTextIter(int inQuesIdx, int inTopicIndex, string inIter, String inText)


Sets topic other spec text in a specific iterations (when using nested loops), Relevant for Single/Multi Choice Grid questions


The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int The question index 
inTopicIndex Int the topic index
inIter int/string The iteration index 
inText string The text to set

Return Type



Question index 2 is a Single Choice Grid, with 5 answers: a, b, c, d, e and 3 topics T1, T2, T2
This question is located under loop chapter B which is under loop chapter A.
Topic T1 is "Other (specify)".
The following code:
SetTopicAdditionalTextIter(QRef(2), 2, CreateMultiIterationsString(6,4), "Text to topic t1")
will set topic T1's other spec in question 2 to "Text to topic T1" under iteration #6 of loop A and iteration #4 of loop B

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Please sign in to leave a comment.