Selectable fields are fields with a limited domain or a set of options or possible values.
These fields includes:
Function | Input | Returned value |
---|---|---|
numberOfSelectedItems(%{...somefield}) : number | Returns the of selected items in select or multiselect field with field code %{...somefield}. | |
numberOfAvailableItems(%{...somefield}) : number | Returns the of available options in select or multiselect field with field code %{...somefield}. It's equivalent to | |
availableItems(%{...somefield}) : string list | Returns a with available options in select or multiselect field with field code %{...somefield}. Disabled options are discarded. | |
availableItems(%{...somefield}, string option) : string list 0 | Returns a with all available child options in cascading or multilevel cascading field with ID %{...somefield}, and for option parent option. In the case of multilevel cascading fields, a comma separated list of options should be entered. Disabled options are discarded. | |
allAvailableItems(%{...somefield}) : string list | Returns a with all available options in select or multiselect field with field code %{...somefield}. Disabled options are included. | |
allAvailableItems(%{...somefield}, string option) : string list | Returns a with all available child options in cascading or multilevel cascading field with ID %{...somefield}, and for option parent option. In the case of multilevel cascading fields, a comma separated list of options should be entered. Disabled options are included. |