IUserAccessiableSelectedAnswerTextIter Method (Int32, String) |
Relevent mainly for single choice questions, that were included inside a loop chapter. Returns the text of the answer that was coded in inQuesIdx, during a specific nested loops iterations state.
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax string SelectedAnswerTextIter(
int inQuesIdx,
string inIter
)
Parameters
- inQuesIdx
- Type: SystemInt32
the question index - inIter
- Type: SystemString
the nested loops iteration indexes list
Return Value
Type:
Stringstring
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 with 5 answers, located inside loop chapter C.
SelectedAnswerTextIter(QRef(10), CreateMultiIterationsString(2, 3, 1)) will return the text of the selected answer 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.
See Also