Answered

bool Answered(int inQuesIdx)

Description

Determines if a question was answered or not.

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int32 Question Index

 

Return Type

bool

Overloads

List of overloads for this function

bool Answered(int inQuesIdx, bool inTakeNullIntoAccount)

Parameters for overloads:

Parameter Type Description
inQuesIdx Int32 Question Index
inTakeNullIntoAccount bool To consider 'null response' questions as "answered", write: false

 

Overload Example

If question index 10 was originally answered, but later was set as "null response", Answered(QRef(10), true) will return 'false' (As if the question was not answered). Answered(QRef(10), false) will return 'true' (Indicating the question was indeed originally answered and have data, although it is set as "Null response").

To learn more on the "Null response" setting and how it is set, click here.

 

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.