- 22 Oct 2024
- 9 Minutes to read
- Print
- PDF
Single Choice
- Updated on 22 Oct 2024
- 9 Minutes to read
- Print
- PDF
The Single Choice control is used to make a single selection on a form. It can be displayed as a drop-down or as multiple chips. and the selected option will be displayed in the search text box. A sample screenshot is shown below:
Figure: Single Choice Control - Drop-Down
Use Case User Persona: Application Designer | Solution |
The Application Designer Sam wants to create an interface for their application where he can convert an SR to an Incident with the following two scenarios:
| To achieve the first functionality, he can drag and drop the Single Choice control on the Form page. Configure the control with labels as Auto Cancel Service Request and Auto Resolve Service Request in chip format. To achieve the second functionality, configure the control in drop-down format with options as New Incident and New Incident for User. |
Use Case User Persona: Application Designer | Solution |
The Application Designer Sam wants to create an interface for their application where he can display the list of all available Tenants such as Information Technology, Human Resources, It Operations and Hardware for a specific module. He should be able to select one of the required options from the list. | To achieve this, he can drag and drop the Single Choice control on the Form page. Configure the control with label as Tenant. Render it as drop-down and configure the options of the drop-down list as Information Technology, Human Resources and IT Operations. |
Configure Single Choice Control
Let's configure Single Choice Control!
- Navigate to General tab of Form Designer. Enter all mandatory details required for the Form.
- In Design Form tab, from the left pane select Controls > Form Controls > Single Choice.
Drag and drop this control inside a panel to create a multi choice field. Click Settings icon to view Properties pop-up.
You can view the following tabs for Singe Choice control:
- Properties
- Advance
- Validations
- Appearance
- Security
- Data Source
Properties
This section contains the list of properties using which the Administrator can configure the respective control's name, subtitles etc. To know more about the fields that are available under the Properties section, see Field Description given below.
Figure: Properties
Field Description
This table contains the list of fields and their descriptions that are available under the Properties section:
Field | Description |
General | |
Title | Specify the name for the Single Choice control. This name identifies the Single Choice control in the form. For Example: Email Notification for Incident |
Subtitle | Specifies the text which you want to display just beneath the control. You may use it to describe the purpose of the control or the way it should be used etc. For Example: As shown in the following screenshot "Send email notification for incident status update" is the subtitle for the Single Choice control named "Incident Status Email Notification". Figure: Subtitle |
Render As | The Single Choice control can be rendered as one of the following available options:
|
Render Type | The Single Choice control can be rendered as one of the following types. Available options are as follows:
|
Hide Label | If this toggle button is enabled, then the configured label will not be displayed on the form. |
Informative | |
Help Text | Displays the information about the UI control in the form in a textual format to guide the user. |
Rich Text | Select it to enable the text as rich text format and interpret as rich text. |
Tooltip | Displays the information about the UI control in the form in the tooltip format to guide the user. The tooltip is displayed when the user hovers the mouse cursor over the control. |
Advance
This section contains the advance section To know more about the fields that are available under the Advance section, see Field Description given below.
Figure: Advance
Field Description
This table contains the list of fields and their descriptions that are available under the Advance section:
Field | Description |
General | |
Include as Filter | If this toggle button is enabled, then the respective control is available as a filter option on the Form Designer list page of the application. |
Include as a column in grid view | If this toggle button is enabled, then the respective control is available as a column on the Form Designer list page of the application. |
Is Clickable | If this toggle button is enabled, then the respective control is clickable. |
Show Clear Icon | If this toggle button is enabled, then a cross mark (x) is displayed against all the drop-down values selected from the respective control using which the user can clear the individual value. |
Validations
This section contains the list of validation setups using which the Application Designer can configure the respective control as mandatory, based on condition, and so on. To know more about the fields that are available under the Validations section, see Field Description given below.
Figure: Validations
Field Description
This table contains the list of fields and their descriptions that are available under the Validations section:
Field | Description |
Title should be | Select one of the following options as per your requirement:
|
Below Conditions Meet | Select it if you want to display this control based on certain conditions. The following fields are displayed to configure the conditions: Field - Select the field from the drop-down list on which the condition is to be applied. Operator - Select the required operator from the displayed drop-down list. Figure: Validations Use icon to add more conditions. |
Every Time | Select it if you want to display this control always without any specific conditions or validations. |
Appearance
This section contains the appearance setups using which you can configure the look and feel of the respective control such as font type, color, size and so on. To know more about the fields that are available under the Appearance section, see Field Description given below.
Figure: Appearance
Field Description
This table contains the list of fields and their descriptions that are available under the Appearance section:
Field | Description |
Text | |
Font Type | Select the type of the font from the drop-down list of available options of font type. |
Font Color | Select the type of the font color from the color widget from the provided set of color options. Click option to select the required color from the displayed color widget. A sample screenshot is shown below: Figure: Color Widget |
Font Size | Select the size of the font from the drop-down list of available options of font type using upwards or downwards arrows. A sample screenshot is shown below: Figure: Font Size Drop-down You can also use a horizontal slider to increase or decrease the font size. A sample screenshot is shown below: Figure: Font Size Slider |
Font Style | Select the type of the font from the drop-down list of available options of font type. |
Security
This section contains the security measures that can be configured for the respective control. It will allow you to control the form usage based on the restricted configured access. Configure view and edit permissions at the field level.Figure : Security
For more information on Security tab, refer here.
Data Source
This section contains the data source details. To know more about the fields that are available under the Data Source section, see Field Description given below.
Figure: Data Source - Table
The following screenshot is displayed if the Data Source is selected as API.
Figure: Data Source - API
The following screenshot is displayed if the Data Source is selected as Manual.
Figure: Data Source - Manual
The following screenshot is displayed if the Data Source is selected as Status.
Figure: Data Source - Status
This section contains the list of fields and their descriptions that are available under the Data Source section. To know more about the fields that are available under the Data Source section, see Field Description.