Click or drag to resize
IUserAccessiableAppendOpenEndedTextIter Method (Int32, String, String)
Relevant mostly for open ended questions. This function append the text inText to an existing text in question inQuesIdx in a specific nested loops iterations state, and set the new text in the question in this iterations state.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
bool AppendOpenEndedTextIter(
	int inQuesIdx,
	string inIter,
	string inText
)

Parameters

inQuesIdx
Type: SystemInt32
the question index
inIter
Type: SystemString
the nested loops iterations state
inText
Type: SystemString
the text to append

Return Value

Type: Boolean
bool
Examples
Loop chapter C is nested in Loop chapter B that is nested in loop chapter A. All loops chapters iterates a maximal number of 3 iterations each. Question index 10 is an open ended question, located inside loop chapter C. AppendOpenEndedTextIter(QRef(10), CreateMultiIterationsString(2, 3, 1), "Hello") will append the text "Hello" to the existing text entered in question 10, while loop A was in iteration index 2, loop B was in iteration index 3 and loop C as in iteration index 1, and will set the new text (with the new addition) to question 10 for this iterations state.
See Also