Click or drag to resize
IUserAccessiableAnswerChoice Method
Relevent mainly for single choice grid and numeric choice grid questions. Returnes a DVar value type, of the index (in a single choice grid) or the text (in a numeric grid) of the answer coded for inChoiceIdx in inQuesIdx.

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

Parameters

inQuesIdx
Type: SystemInt32
Index of question
inChoiceIdx
Type: SystemInt32
Index of topic

Return Value

Type: DVar
DVar type value
Examples
AnswerChoice(QRef(4),3), in case question index 4 is a single choice grid question, will return the index of the answer that was coded for topic index 3 in question index 4.
See Also