This component works like a checkbox and radio component, but you can select multiple options in Select boxes. To add more than one option, click on the Data tab and then click the "Add Another" button. Label data will be displayed to the client, and the value will be saved in the database. You can also set the position of the checkboxes using the label position option.
Display Tab:
- Label: You can place the title or name in this component.
- Label Position: In this setting, you can adjust the position of the component name and label.
- Label Width: In this setting, you can adjust the width of the component name and label.
- Label Margin: In this setting, you can adjust the margins of the component name and label.
- Options Label Position: With this setting you can adjust the position of the component options.
- Description: In the description field, you can enter text that will appear under the Input field.
- Tooltip: Entering data here will create a tooltip icon on the field.
- Custom CSS Class: In this setting, you can add a CSS class. Multiple classes can be added, and class names should be separated by spaces.
- Tab Index: The Tab Index setting indicates which element in a form can be focused and which cannot. It works as a global attribute and provides 3 different results depending on the integer. A Negative Integer (-1) indicates that the elements are unfocused and unreachable by sequential navigation. Zero Integer (0) indicates that the elements are focused and can be reached with sequential navigation. A Positive Integer (1) functions like the zero integer but allows setting an order depending on the number.
- Inline Layout: Enabling this setting you can make sure that the options radios are horizontally displayed.
- Hidden: Enabling this setting will hide your field from view when the form is extracted.
- Hide Label: In this component, you can hide the label or name. Sometimes you only need the component field and not the label; hide label is used for that purpose.
- Initial Focus: Enabling this setting can make the field initially focused. Please note that only one field or component can be the initial focus in a form.
- Disabled: Enabling this setting will disable the component in the form.
- Table View: When this setting is enabled, the data on this component will only show up in the Submission list of the table view.
Data Tab:
- Default Values: The default value (if given) will be the value in the text field unless the user enters it manually. If you use a default value, you can no longer use placeholder settings.
- Persistent: If you enable this setting, your data will not appear in the properties.
- Protected: If you do not want to show the input value in properties when queried by API, you can enable this setting.
- Database Index: If you select this setting, it will create an index within the database, which will improve performance when queries are submitted.
- Encrypted: Encrypt this field on the server. It is two-way encryption and is not appropriate for passwords. This setting is only available on the 'Enterprise' project plan.
- Redraw On: With this option, you can link or connect another component; you can redraw a component if the other component is updated.
- Clear Value When Hidden: As the name suggests, the value of this field will be cleared if the hidden option is selected.
- Calculate Value on Server: As the name suggests, if you select this setting, it will run calculations on your server.
- Allow Manual Override of Calculated Value: As the name suggests, if you select this setting, it will allow you to override the calculated values.
Validation Tab:
- Required: Enabling this setting will make this component mandatory, and the user cannot submit the form without filling this component.
- Regular Expression Pattern: This setting will check the value in the field before the user can submit the form.
- Error Label: With this setting, you can enter text that will be displayed when the field displays an error message.
- Custom Error Message: In this setting, you can enter the error message that will be displayed to the user if any error occurs while filling out the form.
- Minimum Checked Number: In this setting, you can enter the minimum number of checks required before you can submit the form.
- Maximum Checked Number: In this setting, you can enter the maximum number of checks required before you can submit the form.
- Minimum Checked Error Message: In this setting, you can enter the error message that will be displayed if the number of checks is less than the minimum limit.
- Maximum Checked Error Message: In this setting, you can enter the error message that will be displayed if the maximum number of checks is reached.
API:
- Property Name: In this setting, you can provide the name of the field in the API endpoint.
- Field Tags: Enter tags for the field that can be used in custom logic.
- Custom Properties: Enter any custom properties to configure this component in this setting.
Conditional Tab:
- This component should Display: In this setting, you can choose "True and False" if this component should display.
- When the form component: In this setting, you can choose if you want the component to be displayed after it is submitted.
- Has the value: In this setting, you can choose the value of the component when it will be hidden or displayed.
Logic:
- Advanced Logic:
Layout:
- HTML Attributes: In this setting, you can enter HTML attributes map for component input.
Example:
Let's create a new Select Boxes Component. Click on the Select Boxes button and drag it onto the Form Creation screen. It will open the Select Boxes settings window.
- In the picture below, we created a simple Select Boxes Component with the main elements. We enter the name of the Label in the first field.
- We set the position of the Label in the second field. You have six different options to set the position of the label. By default, the label is at the top. You can also set the position of the boxes in the "Option Label Position" bar.
- Now, click on the "Data" tab to add the options.
Finally, this is how the “Select Boxes” component will appear on the form.