You are here:
Add a Range Input Element to a Flexcard (Managed Package)
For the managed package runtime, add a Number Input element on a Flexcard to enable users to select from a range of numbers you specify. From the Properties panel, configure properties and custom attributes, add an action, and add conditions.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
Required Versions |
|---|
Available beginning Winter '22. |
- From the Flexcards tab, click a version of a Flexcard to open the Flexcard Designer.
- From the Build panel, click Inputs, and drag the Range element onto the canvas.
- (Optional) From the Properties panel, update the element name in the Element Name field.
-
Configure properties common to all Input elements:
-
(Optional) In Field Binding, bind the value of the input element to an existing or new data field. See Bind a Flexcard Input Value to a Data Field (Managed Package).
-
In Field Label, enter the label that appears next to the element.
-
(Optional) Check Read-only to disable the ability to modify the input values.
-
(Optional) In Help Text, enter helpful text about the purpose of the input field. This feature adds an info icon (i) next to the element's label, which when hovered over displays the text.
-
- (Optional) Click into Default Value to select a default input value from a merge field. Or, enter a value as plain text.
- (Optional) In Mask, provide an input mask that formats the range numbers. For example, for a rating selector, enter 0.0 for a user to select a rating such as 3.5.
- (Optional) In Step, set by how much each number in the range increases. Enter a whole or floating point number, such as 2, .5, or 1.1. For example, if a rating selector's range is 1 to 10, and your Step is .5, then the first few numbers in the range are 1, 1.5, 2, and 2.5. The default Step is 1.
- To set the range of available numbers, enter a Minimum Value and Maximum Value. Set a negative or positive, whole or floating point number for each value, such as -1 and 10, or -1.5 and 20.5. The default minimum is 0, and the default maximum is 100.
-
(Optional) To configure additional properties available to the element, click
+ Add New in the Custom Attributes
section. For each new attribute, perform the following tasks:
-
Click into the Attribute field to select from an attribute in the dropdown. See Input Lightning Web Component ReadMe (Managed Package) for available attributes.
-
In the Value field, enter a value for the attribute.
-
- To execute an action when a user interacts with the input element, click + Add Action, and see Add a Click Event to a Flexcard Element (Managed Package).
- (Optional) To add conditions that must be met for the element to display, see Add Conditions to a Flexcard Element (Managed Package).
- (Optional) To style your element, click Style to open the Style panel, and see Style Flexcard Elements (Managed Package).
- Flexcards Range Input Element Properties (Managed Package)
For the managed package runtime, Range Input element properties are configurable in the Properties panel when you select a Range element in the Flexcard Designer. Enable users to select from a range of numbers you specify.
