You are here:
Add a Checkbox Input Element to a Flexcard (Managed Package)
For the managed package runtime, add a Checkbox input element on a Flexcard to enable users to select or unselect a checkbox. 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 Checkbox 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).
-
(Optional) Check Required if the user must enter or select a value for this input 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.
-
- In Checkbox Label, enter the label that appears next to the checkbox.
- (Optional) To enable the checkbox by default, check Default Value.
-
(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 CheckboxGroup 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 selects or unselects the checkbox, 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 Flexcards Datatable Style Properties (Managed Package).
- Flexcards Checkbox Input Element Properties (Managed Package)
For the managed package runtime, Checkbox Input element properties are configurable in the Properties panel when you select a Checkbox element in the Flexcard Designer. Enable a user to select or unselect a checkbox.
