This function is useful if the options in fields are generated dynamically or if they have been filtered. It can be used with the checkbox group, drop-down, list box and radio group fields. It can only be used client-side and on the page where the options have been created.
Arguments
Argument | Type | Description |
---|---|---|
fieldName | String, required | The name of the field whose options you'd like to return |
Returns
The option data, which is an array of arrays (each option is an array of value, display property and group).