Click or drag to resize
IUserAccessiableClearAnswerIter Method (Int32, String)
This function resets the answers in question inQuesIdx to it's original state within a specific nested loops iterations state. Important Note: Should only be used in extreme cases and it is advised to consult with Dooblo support before using it in a script.

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

Parameters

inQuesIdx
Type: SystemInt32
the question index
inIter
Type: SystemString
the nested loops iteration indexes list

Return Value

Type: 
void
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 a single choice question, located inside loop chapter C. ClearAnswerIter(QRef(10), CreateMultiIterationsString(2, 3, 1)) will clear the answers of 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.
See Also