getOptions (Client API reference)

Returns an array of option objects representing valid options for an attribute.

Attribute types supported

OptionSet, MultiSelectOptionSet

Syntax

formContext.getAttribute(arg).getOptions()

Return Value

Type: Array of option objects.

Description: The array of option objects representing valid options.