Checkbox
This field is used to allow the user to select options out of a given list. The user can configure and provide as many options as they prefer, and it will enable multiple select options
{"type": "checkbox","id": "checkboxExample","label": "Checkbox","showInTable": true,"isRequired": true,"options": ["General", "Salesperson", "Friend/Relative", "Other"]}
The example above creates a checkbox of the 4 options above where the user can select multiple options and the field is required.
Field Attributes
Name | Type | Description |
---|---|---|
id | string | Assigns a name for the given field on the backend. This name can be used to refer this field in another field |
label | string | Adds a label to the given field |
isRequired | boolean | Makes a field mandatory |
showInTable | boolean | Displays the field in a table after saving the entry |
options | array | Stores the options presented to the user to select |