Click or drag to resize
IUserAccessiableAnswerChoiceSelectionIter Method (Int32, Int32, Int32, Int32)
Relevant for multiple selection grid questions. Returns the index of the answer that was chosen in a specific choice in the specific topic and iteration

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
DVar AnswerChoiceSelectionIter(
	int inQuesIdx,
	int inTopicIdx,
	int inChoiceIdx,
	int inIter
)

Parameters

inQuesIdx
Type: SystemInt32
The selected question index
inTopicIdx
Type: SystemInt32
inChoiceIdx
Type: SystemInt32
The selected choice index
inIter
Type: SystemInt32
The iteration index

Return Value

Type: DVar
the index of the answer
Examples
For the commend: AnswerChoiceSelectionIter(QRef(1),4,2,3) - the following code will return the index of the second answer that was selected in topic number 4 in the 3rd iteration.
See Also