enable - Methods - Questions API

Questions API Methods

enable()

Enables 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

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.