auto_stories Bilgi Bankası chevron_right Form chevron_right Makale

Selection Box Multiv5

This form element visually presents the selection of options defined within the form. There is no limit to the number of options that can be configured for this element. Although it may appear to operate with only two values, any values entered in the Values field will be displayed as selectable options on the Client screen.

Users can select multiple options from the available choices. If only a single selection is required, the Selection Box form element should be used instead.

 

Appearance in Toolbox

Appearance in Free Form

Appearance in Responsive Form

Appearance in Flexible Form

 

 

 

 

 

 

 

 

 

 


Compatibility

Free Form

Responsive Form

Flexible Form

Mobile

 

 

 

 

 

 

 

Features of the Selection Box Multi Component

Type: Displays the field type of the added form component. This value cannot be changed.

Name: Specifies the name of the field that will be created in the database.

Field Style: Specifies the source from which the values to be displayed in the field will be retrieved (constant value, SQL query, Xpoda Addon, or API Engine).

  • Constant Value: This option is selected if the values to be displayed in the field will be retrieved from predefined constant values. The values to be added are entered into the Values field by pressing the Enter key.

  • SQL Query: This option is selected if the values to be displayed in the field will be retrieved from dynamic data. The entered values are provided as an SQL query.

  • Xpoda Addon: In the Xpoda Platform, custom-developed code may need to be executed in specific areas. For this purpose, .NET Class Libraries developed for the required functionality can be used. After selecting this option, the Library - Class - Method selections must be configured.                     

  • API Engine: This option is selected if the values to be displayed in the field will be retrieved from external services or systems via an API. After selecting this option, the API Collection, API Request, and related parameter selections must be configured.

     


Default Value: The value entered in this field is displayed as the default value in the field on the Client screen.

 

 

Table Length: Specifies the length of the field that will be created in the database. Changes made in this field afterwards do not affect the database.

 

Help Text: The text entered to display a description when the mouse hovers over the form component.

 

Color: Adjusts the color of the form component and/or the text within it.

 

Height/Width: Adjusts the height and width of the form component (the Width field has been removed from Responsive Forms).

From Left/Top: Specifies the offset distance of the form component from the left or top edge of the container/page where it is located.

Format: After selecting the data, the format in which the selected value will be stored in the database (int, decimal, varchar, etc.) is specified.

 

Multiple Selection: This feature is used when multiple selections can be made within the field. When multiple selections are required, this feature should be set to "Yes".

 

Fit Horizontal: Fits the form component horizontally to the full screen on the user's display.

Pin Right: Fixes the form component to the right side.

Display: Prevents the form component from being displayed on the Client screen.

Form Only: Allows the information entered into the form component to be used only within the form without being saved to SQL. Changes made in this field afterwards do not affect the database.

Vertical: Allows the options to be listed vertically (one below another) within the selection box.


Actions Available Within the Selection Box Multi Component

Different actions are available for each form element added on the Form page. To view the actions defined for the Selection Box Multi component, first select the Selection Box Multi component, then open the Actions menu located in the right panel.


 

The actions that can be used within the Selection Box Multi component and their details are as follows.

On Value Change: Runs when the value within the Selection Box Multi field is changed.

 

 


 

mceclip6.png

 

Example Usage 2:

Product selections are intended to be made within a Form page. The options are retrieved from the PRODUCTS table and managed dynamically. The Selection Box Multi form component will be used for product selections, and since it will work with dynamic values, an SQL query will be used.

 

The Selection Box Multi component is added to the Form page. SQL Query is selected from the Field Style field, and after the selection, the appropriate query is entered into the SQL Query field located in the Properties panel.

The Multiple Selection property in the Properties section is set to Yes.

The form component, properties panel view, and client view are shown below.

 

 

mceclip7.png