Questions API Methods
getProcessedOptions()
Returns the processed options that have been rendered into the page, for the mcq
Question type only. The processed option object contains the information about current options like label
, value
and the choice_label
(e.g. A, B, C... or a, b, c or 1, 2, 3... based on the ui_style.choice_label
value). Note that the order of the processed options can be different to the options
of the original question's JSON if shuffle_options
is set to true
.
Note This method is only available for the mcq
Question type.
Arguments
None.
Return value
Type array