Selection Boxv5
This form element provides a visual representation of options defined within a form. There is no limitation on the number of options that can be defined for this element. Although it may appear to operate with only two values, all values entered in the Values field are displayed as selectable options on the Client screen.
Only one of the available options can be selected. If multiple selections are required, the Selection Box Multi form element should be used.
|
Appearance in Toolbox |
Appearance in Free Form |
Appearance in Responsive Form |
Appearance in Flexible Form |
|
|
|
|
|
Compatibility
Free Form | Responsive Form | Flexible Form | Mobile |
Selection Box Element Properties |
Type: Displays the field type of the added form element. This value cannot be modified. Name: Specifies the name of the field that will be created in the database.
Field Style: Determines the source from which the field values will be retrieved. The available options are Constant Value, SQL Query, and Xpoda Addon.
Default Value: The value entered in this field is displayed as the default value in the corresponding field on the Client screen.
Table Length: Specifies the length of the field to be created in the database. Changes made to this value after the field has been created do not affect the database schema.
Help Text: The text entered in this field is displayed as a tooltip when the user hovers over the form element with the mouse.
Color: Defines the color of the form element and/or the text within it.
Height/Width: Defines the height and width of the form element.
From Left/Top: Specifies the offset distance of the form element from the left or top edge of its container/page.
Format: Specifies the format in which the selected value will be stored in the database after data selection (e.g., int, decimal, varchar).
Fit Horizontal: Stretches the form element horizontally to fit the full width of the user’s screen. Pin Right: Anchors the form element to the right side of the screen. Display: Controls whether the form element is visible on the Client screen. Form Only: Ensures that the data entered into the form element is not saved to the database and exists only within the form. Changes made later do not affect the database. |
Actions Available for the Selection Box Element
Each form element added to a form page has different actions available. To view the actions defined for the Selection Box element, the Selection Box must first be selected, and then the Actions menu in the right-hand panel should be opened.

The actions that can be used within the Selection Box element and their details are listed below.

On Value Change: Triggered when the value of the Selection Box field is changed.
Example 1:
In a form page, month information is intended to be displayed using a Selection Box. Since month values cannot be dynamic, they must be assigned to the form element as constant values.
A Selection Box element is added to the form page. In the Field Style field, Constant Value is selected. After selection, month values are added to the Values field in the properties panel by pressing the Enter key.
The form element, the properties panel view, and the Client screen view are shown below.


Example 2:
In a form page, a product selection is required. The options are retrieved from the PRODUCTS table and managed dynamically. A Selection Box form element is used for product selection, and an SQL query is used since the values are dynamically populated.
A Selection Box element is added to the form page. In the Field Style field, SQL Query is selected. After selection, an appropriate SQL query is entered in the SQL Query field in the properties panel.
The form element, the properties panel view, and the Client screen view are shown below.














