Questions API Methods
disable()
Disables the user's ability to enter responses for the question instance.
A return of true
indicates that the question instance was disabled, and false
indicates that no action was taken.
By default, all questions are enabled.
This method only works when in the "initial"
or "resume"
states, when not in those states, false
is returned.
This method can also be called on Questions API directly, affecting all questions.
Arguments
None.
Return value
Type boolean