You have to go through a four-step form wizard to enable this
Control, i.e., Design, Validation, API & Advance. Let’s
explain these steps below:
1st Step – Design
This is the first step of the “Checkbox List” control form wizard. Here you are required to fill in the
following details:
Database Field Name (mandatory): Defines the name of the database field to which the component's data will be mapped and stored.
Label Name: Specifies the display name or title for a field or control in the user interface.
Column Width: Specifies the width of a column in a layout or grid system, allowing control over how much space the column occupies relative to others.
Enable Tooltip?: This button is set as “Yes” if you need to enable Tooltip Text in this Control
Tooltip Text: Defines the text to be displayed in the tooltip when the user hovers over the icon.
Select Tooltip Position: Select tooltip position from the following: Top, Right, Bottom, or Left
2nd Step – Validation
Is Mandatory?: This button is set as “Yes” if you need to apply this Control as mandatory.
Error Message: Here, you can define the error message that will be displayed if this control is left blank.
Store Json Node:
Defines where the form data is stored in the JSON structure, allowing for easy retrieval and manipulation of the data.
Select Refresh Form:
Indicates if the form should be refreshed when certain changes are made to the data or controls.
Refresh component on change:
Specifies whether the associated component should be refreshed automatically when a change is made to the control's value.
3rd Step – API
Display Field:
Defines the field that will be displayed to the user in the form.
Display Sub Field:
Specifies a secondary field that can provide additional information in the form.
Value Field:
The field containing the actual value or data that is being captured or processed in the form.
Image URL Field:
The field where the URL of an image is stored or selected.
API:
Specifies the configuration settings for connecting to and interacting with an API.
Choose Data Source: Select data source from the following: HTTP, Workflow, No SQL or RDBMS
Specifies where the data for the API request is coming from, such as HTTP, NoSQL, etc.
HTTP:
Defines the settings for an HTTP-based API request.
Data Connection:
Specifies the connection string or settings for connecting to the data source.
Method (mandatory): Select method from the following: GET, PUT, POST, PATCH, DELETE, or POCO
Defines the HTTP method to use for the API request.
API URL (mandatory):
The URL endpoint for the API request.
Query Parameters:
Key: The key for the query parameter.
Value: The value for the query parameter.
Query Variable: The query variable that can be used dynamically.
Select Type: Choose the type of query variable (e.g., string, integer).
Headers:
Name: The name of the header to send with the API request.
Value: The value for the header.
Others:
Enable raw query: Allows the use of a raw query string in the request.
Response Attribute:
Specifies the attribute or field in the API response to be used for further processing.
Data:
Defines the data related to the form or component, typically including options for selection or display.
Options:
Specifies the available options or choices for the field or control.
Display Text:
The text that is shown to the user for the option.
Value:
The underlying value that corresponds to the option selected.
Display Sub Text:
Additional text displayed alongside the option for further clarification.
Image URL:
The URL that points to an image associated with the option.
Mobile:
Defines any mobile-specific settings or attributes related to the option.
Background Color:
The background color for the option in the interface.
Text Color:
The color of the text displayed for the option.
Icon:
The icon associated with the option, usually displayed alongside the text.
Active Background Color:
The background color applied when the option is in an active or selected state.
Active Text Color:
The text color used when the option is active or selected.
Active Icon:
The icon displayed when the option is active or selected.
Bind data with model:
Binds the data to a specific model in the system, allowing for dynamic updates.
Binding model key:
Specifies the key in the model that will be bound to the data value.
Allow to Enter Other Value?:
Specifies whether the user is allowed to enter a custom value that is not part of the predefined options or choices.
4th Step – Advance
Design
Direction:
Defines the orientation of the layout or control.
Vertical:
Specifies that the layout or control is oriented vertically.
Horizontal:
Specifies that the layout or control is oriented horizontally.
Display Images:
Indicates whether images should be displayed alongside text.
Is Left Image & Right Text view:
Specifies if the image should be displayed on the left and the text on the right.
Image Width:
Defines the width of the displayed image.
Image Height:
Defines the height of the displayed image.
Number of Checkbox in Row:
Specifies how many checkboxes should be displayed in a single row.
Enable Panel:
Specifies whether a panel should be enabled for this control or field.
Panel Header:
Defines the header title displayed at the top of the panel.
Bootstrap Column Class:
Specifies a predefined Bootstrap CSS class to style and format the component, enabling quick customization and responsive design.
Description: Enter extra suggestions for user experience on this field
Provides additional tips or guidance to improve the user’s experience with this field.
Mobile
Enable Button View:
Specifies whether the button view should be enabled for the field or control.
Dynamic Data Binding:
Enables dynamic binding of data to the control, updating the data as needed.
Dynamic Data Count: Enter Number OR Data Model Key
Defines the number of dynamic data items to be used or a key to bind the data model dynamically.
Padding Left:
Defines the amount of padding on the left side of the control or field.
Padding Top:
Defines the amount of padding at the top of the control or field.
Padding Right:
Defines the amount of padding on the right side of the control or field.
Padding Bottom:
Defines the amount of padding at the bottom of the control or field.
Border Radius:
Specifies the rounded corners for the border of the control or field.
Gap between Checkbox List:
Defines the space between each checkbox in a list of checkboxes.
Gap between Text and Icon:
Specifies the space between the text and the icon within the control or field.
Icon on Right:
Indicates if the icon should be displayed on the right side of the text or field.
Is Gluestack Icon?:
Specifies if the control uses the Gluestack icon set for its icons.
Align Self:
Defines the alignment of the control or field relative to its parent container (e.g., center, flex-start).
Flex:
Enables or configures the flex layout for the control or field, making it responsive.
Form Control Margin Bottom:
Specifies the margin space at the bottom of the form control, used to separate it from other elements.
Click “Confirm” and “Checkbox List” control is
configured.