attribute.getOptions (Client API reference)

Returns an array of option objects representing valid options for a column.

Column types supported

Choice, Choices

Syntax

formContext.getAttribute(arg).getOptions()

Return Value

Type: Array of option objects.

Description: The array of option objects representing valid options.

Options have two properties:

Property Type Description
text string The localized label for the option.
value number The integer value of the option.