SelectedAnswerText

string SelectedAnswerText(int inQuesIdx)

Description

Returns the text of the answer that was coded in inQuesIdx.

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int32 Question Index

 

Return Type

string 

Overloads

List of overloads for this function

string SelectedAnswerText(int inQuesIdx, bool inUseOtherSpecText)

Parameters for overloads:

Parameter Type Description
inQuesIdx Int32 Question Index
inUseOtherSpecText bool 'true' for getting the additional text of a selected "Other specify" answer, or 'false' otherwise

Examples

SelectedAnswerText(QRef(3)) - will return the text of the answer coded in question index 3.

SelectedAnswerText(QRef(3),true) - will return the additional text of the "Other specify" answer coded in question index 3.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.