You are here:
Flexcards Input Elements
Add input elements to Flexcards so that your users can provide data, which then updates the JSON data. You can also configure an element to run an action when a user interacts with the element.
For all input elements, you can configure these settings:
-
Common parameters such as field binding to update data fields based on the information that users enter.
-
Lightning web component custom attributes such as conditional checkbox color or specific labels when users hover on a toggle.
-
Actions, conditions, or style formats, similar to other Flexcard element types. See , Set Up Actions on a Flexcard, Set Up Conditions to a Flexcard Element, and Style a Flexcard.
- Update Data Field Based on Value Entered by User
Ensure that your data is always up to date by binding an input element value to a data field in your Flexcard's data source. As a result, when a user updates the input value, Omnistudio updates the corresponding JSON code. You can use the new data like any other piece of data from a data source. For example, update the value of an attribute sent from a parent to a child Flexcard based on user input. - Element-Specific Considerations for Flexcard Input Elements
Review some element-specific considerations and learn which Lightning web component the element maps to, and the attribute that you can configure. Then, access the corresponding readme file for information about the custom attribute setup. - Example: Suspend a Device from Self-Service
Learn how to set up a Flexcard that your customers use to suspend a mobile device from a self-service portal.

