getRequiredLevel (Client API reference)
Returns a string value indicating whether a value for the column is required or recommended.
Column types supported
All
Syntax
formContext.getAttribute(arg).getRequiredLevel()
Return Value
Type: String.
Description: Returns one of the following values:
none
required
recommended