Click or drag to resize
IUserAccessiableAnswerChoiceSelection Method
Relevant for multiple selection grid questions. Returns the index of the answer that was chosen in a specific choice in the specific topic

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

Parameters

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

Return Value

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