bool SetAnswerWithAdditionalTextsIter(int inQuesIdx, string inIter, params AnswerWithAdditionalText[] inValues)


Sets multiple answers\single answer with additional texts in a specific iterations status (when using nested loops). Use CreateAnswerWithAdditional() to create AnswerWithAdditionalText objects, Relevant for Multiple Selection questions with multiple "other (specify)" answers and Single Selection questions with a single "other (specify)" answer.


The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int The question index 
inIter int/string The iteration index 
inValue AnswerWithAdditionalText[] The indexes to set, built as AnswerWithAdditionalText objects

Return Type



SetAnswerWithAdditionalTextsIter(QRef(2), CreateMultiIterationsString(6,4), 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, 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.