Click or drag to resize
IUserAccessiableSelectedAnswerText Method (Int32, Boolean)
Relevent mainly for single choice questions. Returns the text of the answer that was coded in inQuesIdx. If inUseOtherSpecText = true, and the selected answer of inQuesIdx was "Other Specify", Returns the additional text entered for that answer.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
string SelectedAnswerText(
	int inQuesIdx,
	bool inUseOtherSpecText
)

Parameters

inQuesIdx
Type: SystemInt32
Index of question
inUseOtherSpecText
Type: SystemBoolean
'true' for getting the additonal text of a selected "Other specify" answer, or 'false' otherwise

Return Value

Type: String
string type value
Examples
SelectedAnswerText(QRef(3),true), will return the additional text of the "Other specify" answer coded in question index 3.
See Also