SetTopicWithAdditionalTextIter

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

Description

Sets topic other spec text in a specific iterations (when using nested loops), 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
inIter int/string The iteration index 
inText string The text to set


Return Type

bool

Example

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

Comments

0 comments

Please sign in to leave a comment.