編輯

共用方式為


getText (Client API reference)

Returns a string value of the text for the currently selected option for a choice or choices column.

Column types supported

choice, choices

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)