getText (Client API reference)

Returns a string value of the text for the currently selected option for an optionset or multiselectoptionset attribute.

Attribute types supported

optionset, multiselectoptionset

Syntax

formContext.getAttribute(arg).getText()

Return Value

Type: String.

Description: The text value of the selected option.

Note

When no option is selected, it will return null.

getInitialValue (Client API reference)

getOption (Client API reference)

getOptions (Client API reference)

getSelectedOption (Client API reference)