IUserAccessiableSelectedAnswerTextIter Method (Int32, Int32, Boolean) |
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 iteration inIter. If inUseOtherSpecText = true, and the selected answer of inQuesIdx during iteration inIter was "Other Specify", Returns the additional text entered for that answer.
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax string SelectedAnswerTextIter(
int inQuesIdx,
int inIter,
bool inUseOtherSpecText
)
Parameters
- inQuesIdx
- Type: SystemInt32
Index of question - inIter
- Type: SystemInt32
Index of iteration - inUseOtherSpecText
- Type: SystemBoolean
'true' for getting the additonal text of a selected "Other specify" answer, or 'false' otherwise
Return Value
Type:
Stringstring type value
Examples
SelectedAnswerTextIter(QRef(3),5,true), will return the additional text of the "Other specify" answer coded in question index 3, during iteration number 5.
See Also