Visual Picker Field
Overview
A Visual Picker is a UI component that allows users to select options through visually distinct tiles or cards instead of traditional dropdowns or radio buttons. It enhances user experience by providing an intuitive, graphical way to make selections, often used for choosing templates, categories, or display preferences.
Attributes of Visual Picker field
Basic:
Attribute Name | Description |
---|---|
Component Size |
For example, |
Label | A Label is the name shown to users and can come from various sources. Reference: Label Source Type |
Place holder | This is a hint or example text displayed in an input field before the user enters their own data. |
Field Type | Here you can choose different field types. Reference: Field Type. |
Dest Types | This attribute specifies whether the user wants to store a value in a variable or a model. Model: Here, the user can select the model and specify the field where the value will be stored. |
Dest Var | Here you can choose the variable option from variable list. Note: This appears when you select "Variable" in the Dest Type. |
Config:
Attribute Name | Description |
---|---|
Picklist Type | Defines the source type for picklist values, such as predefined values or dynamic options. |
Picklist Values | Specifies the available options for selection in the picklist. |
Is Page Size Options | Enables page size selection for managing the number of records displayed per page. |
Application Name | Associates the picklist with a specific application for contextual selection. |
Hide Search | Removes the search bar from the picklist dropdown. |
Is Dependent | Makes the picklist values dependent on another field’s selection. |
Show Dropdown Up | Displays the picklist dropdown above instead of below the input field. |
Allow Custom Text | Allows users to enter custom values instead of selecting from the predefined list. |
Hide Select Icon | Hides the dropdown arrow or icon from the picklist field. |
Option Limit | Restricts the number of selectable options in the picklist. |
Show Description | Displays additional descriptive text for better context and understanding of the field. |
Validations:
Attribute Name | Description |
---|---|
Required Type | Here, users can apply validation based on filter conditions.
|
Required Error | Enter the error message you want to display for required fields. |
Base UI:
Attribute Name | Description |
---|---|
Margin Location | "Margin Location" refers to the spacing around the outside edge of an element |
Margin Size | "Margin Size" refers to the amount of space around the outside edges of an element, |
Hide Space | After marking this checkbox as true, it will crop the extra corners of the fields. |
UI State:
Attribute Name | Description |
---|---|
Visibility Type | It determines whether a component is visible on the layout. It offers the following visibility types:
Reference: Conditional Visibility |
Read Only Type | It specifies whether a component can be edited by users. It offers the following options:
Reference: Read Only |
Disability Type | It determines whether a component is disable on the layout. It offers the following visibility types:
Reference: Conditional Disability |
UI:
Attribute Name | Description |
---|---|
Layout | Field Layout allows you to arrange fields on the form. For more details check this Reference: Field Layout |
Help Text | Provides additional guidance or information about a field or element to assist users in understanding how to complete it or what data is expected. |
Layout:
Attributes | Description |
---|---|
None | In the None layout, only the input/output field is visible, with no label displayed. |
Stacked | In a stacked layout, the input/output field is placed below the field label, with a small margin around the label. |
Horizontal | In a horizontal arrangement, the input/output field is placed before the field label, with a small margin around the label. |
Single Column | In a Single Column layout, the input/output field is larger than the field label, and displayed in single column grid. |
No Label | In the No Label layout, only the input/output field is visible, without the label. |
Label Source Type:
Attribute | Description |
---|---|
Model (Salesforce Object) | From this source, users can select a Model (Salesforce Object) field to be displayed as the label name. |
Variable | Here, users can select the label name from variables such as Record ID, Is Disabled, Is Read only, or Is Visible. |
Cookie Key | Choose the available cookie key whose value you want to include from your browser. |
Local Storage Key | Select the available Local Storage Key whose value you want to include from your browser. |
User | Here, you can choose the label from user fields such as First Name, Last Name, Email, Name, Phone, or Session ID. |
Merge Field Expression | Merge Field Expression displays the value selected from the chosen value source. |
Message Body | Inside the message body, user also can add the values manually. |