Fields
MultiCheckbox Field
The MultiCheckbox Field allows for selecting multiple items from a list.
This can be used to check items from any list, such as a list of colors, months in a year, list of countries, etc.
Basic usage
Adds a multicheckbox
field to the fields of an action.
Result
The field will be displayed as multiple checkboxes in the form, as below:
The resultant data will be available in the stubpost.data
as:
The values that were selected are available in the stubpost.data
as an array of objects, where each object has a label
and a value
.
This can be substituted with eg. ~~stubpost.data.flight_options
where required.
Parameters
required array
params.options This parameter specifies the list of items that the user can check. Each item in the array should have a label
and a value
.
required string
params.options.label This parameter specifies the text that will be displayed to the user.
required string
params.options.value This parameter specifies the value that will be sent to the AI model when the user checks the item.
See fields for common parameters