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.
Related articles
getInitialValue (Client API reference)
getOption (Client API reference)
getOptions (Client API reference)
getSelectedOption (Client API reference)
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for