This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Questions API

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

array

Was this article helpful?