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 “Radio 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.
Placeholder: Defines the hint text displayed inside a form field or input box when it is empty, providing guidance on the expected input.
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.
Allow Other?: This field is used to take user input, if options
in the radio list are not relevant as per user.
Default Value: As the name suggests, it defines a default value
for a field. This default value can be changed by user input.
3rd Step – API
Data
Server Data:
Specifies the data coming from a server that is used for processing or display.
Choose Data Source: Select data source from the following: HTTP, Workflow, No SQL or RDBMS
Defines the source of data that will be used for the server-side operations or API calls.
HTTP:
Specifies that the data source is an HTTP-based service or API.
Data Connection:
Defines the data connection settings for connecting to the HTTP source.
Method (mandatory): Select method from the following: GET, PUT, POST, PATCH, DELETE, or POCO
Defines the HTTP method used for the request to the data source.
API URL (mandatory):
Specifies the URL endpoint for the API that provides the data.
Query Parameters:
Parameters that are sent along with the API request to filter or modify the data.
Key: Specifies the key for the query parameter.
Value: Specifies the value for the query parameter.
Query Variable: Defines a variable used in the query parameter.
Select Type: Defines the type of data or selection for the query parameter.
Headers:
Custom headers to be included in the API request.
Name: The name of the header.
Value: The value of the header.
Others:
Additional settings for the HTTP request.
Enable raw query: Enables the use of a raw query in the request.
Response Attribute:
Specifies the attribute in the response that contains the data needed.
Client Data:
Specifies the data that is provided by the client or the front-end side of the application.
Data:
Defines the various pieces of data that are managed or provided by the client.
Enter Text:
Specifies the text input provided by the user or client.
Display Subtext:
Defines additional text displayed under the main input or control to provide more context or instructions.
Enter Value:
Specifies a value that can be entered by the user or client in the form of text or a number.
Image URL:
Defines the URL of an image that is used or displayed in the client-side data.
Populate JSON:
Specifies whether JSON data should be populated or used in the client-side operations.
Bind data with model:
Specifies the process of linking client-side data to a specific model for dynamic updates.
Binding model key:
Specifies the key used for binding the data from the client to the model.
Text Field:
Specifies a field where users can enter or display text.
Value Field:
Defines a field that holds the value associated with a selection or input.
Store Extra Nodes: Store extra dropdown nodes with value field to Model Json
Defines whether additional nodes (such as options) from a dropdown are stored in the model's JSON data.
Extra Nodes: Enter field from binding API response
Specifies the field in the API response to be added as extra nodes in the dropdown.
Stop Extra Nodes On Load:
Defines whether the extra nodes should be stopped from loading when the dropdown is initialized.
Relationship
You can set binding with other form controls and this control by
allowing reload for selected controls.
Action Data Source: Select data source from the following: HTTP, Workflow, No SQL, or RDBMS
Defines the source of data for the action, which can be HTTP-based, workflow-driven, NoSQL, or RDBMS.
HTTP:
Specifies that the action will fetch data from an HTTP-based service or API.
Data Connection:
Defines the data connection settings for accessing the HTTP data source.
Method (mandatory): Select method from the following: GET, PUT, POST, PATCH, DELETE, or POCO
Defines the HTTP method to be used for sending the request to the API.
API URL (mandatory):
Specifies the URL of the API endpoint used to access the data.
Query Parameters:
Parameters that can be passed with the HTTP request to modify the response.
Key: Specifies the key for the query parameter.
Value: Specifies the value for the query parameter.
Query Variable: Defines variables used in the query parameters.
Select Type: Specifies the type of data or selection for the query parameter.
Headers:
Custom headers to be included in the HTTP request.
Name: The name of the header.
Value: The value of the header.
Others:
Additional settings for the HTTP request.
Enable raw query: Enables the use of raw query parameters in the request.
Response Attribute:
Specifies the attribute in the response that contains the desired data.
Query Param (mandatory):
Defines the mandatory query parameter needed to fetch the data.
Allow Binding with Other Controls:
Allows binding this control to other controls for dynamic data linking or updates.
Control Properties:
Defines various properties for controlling data binding and interaction with other controls.
Action: Pre Populate or Filter - Specifies whether the action should pre-populate data or filter existing data.
Control Type: Specifies the type of control (e.g., text field, dropdown, etc.).
Control Key: Defines the unique key for the control.
Is Control Bind with API:
Specifies whether the control should be bound with an API.
API Binding Field: Defines the field used for binding data from the API.
Refresh Controls On Change: Specifies whether to refresh related controls when this control's value changes.
Select Refresh Form: Allows selecting a form to refresh when changes are made.
Binding Attribute (e.g Key): Specifies the attribute to be used for binding data (e.g., key for selection).
4th Step – Advance
Design
Enable Panel Header:
Defines whether the panel header should be enabled or not.
Panel Header:
Specifies the title or label for the panel header.
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.
Direction: Select direction from the following: Vertical, Horizontal, Images, and Group Button
Vertical:
Aligns the content in a vertical direction.
Horizontal:
Aligns the content in a horizontal direction.
Images:
Displays content using images and provides additional image-related settings.
Is Left Image & Right Text view: Defines whether the image is on the left with text on the right.
Hide Border on Image: Hides the border around the image.
Number of Radiobox in Row: Specifies how many radio buttons appear per row.
List Justify: Defines the justification for the list items.
List Align: Specifies how the list items should be aligned.
Image Width: Specifies the width of the image.
Images Height: Specifies the height of the image.
Font Size: Defines the font size for text within the image view.
Hide Tic Mark: Hides the tick mark associated with the image options.
Group Button:
Displays buttons as a group with the following settings.
Group Color: Specifies the color for the button group.
Other
Set data model to page variable: Here, you can access page variable on the sidebar.
Maps data to a specific variable within the page for use in dynamic operations.
Page variable: Defines the page-level variable to which the data model will be assigned.
Type: Specifies the data structure of the page variable.
Object: Assigns the data model as an object.
Array: Key and Value - Assigns the data model as an array containing keys and values.
Attach with form wizard: Associates the data model with a specific form wizard component.
Form Wizard Key: Identifies the unique key of the form wizard to attach.
Form Wizard Component Form Id (mandatory): Specifies the mandatory form ID for the form wizard component.
Mobile
Padding Left: Sets the left padding for the element, defining spacing between content and the left boundary.
Padding Top: Sets the top padding for the element, defining spacing between content and the top boundary.
Padding Right: Sets the right padding for the element, defining spacing between content and the right boundary.
Padding Bottom: Sets the bottom padding for the element, defining spacing between content and the bottom boundary.
Border Radius: Adjusts the roundedness of the element's corners.
Gap between Radiobox List: Defines the spacing between individual radiobox items in the list.
Gap between Text and Icon: Specifies the spacing between text and its associated icon.
Icon on Right: Places the icon to the right of the associated text or element.
Is Gluestack Icon?: Indicates whether the icon is part of the Gluestack design system.
Align Self: Defines how the element aligns within its parent container, overriding container alignment.
Flex: Sets the flex property, controlling how the element grows, shrinks, or adjusts its size.
Form Control Margin Bottom: Adds space below the form control to separate it from adjacent elements.
Icon: Specifies the default icon displayed for the element.
Active Icon: Defines the icon displayed when the element is in an active state.
Click “Confirm” and “Radio List” control is
configured.