Error Handling
Using the Progress Indicator's "Has Error" attribute, you can visually indicate errors in specific flow steps.
Connect to a Boolean Formula: Link the "Has Error" attribute to a Boolean formula variable that evaluates whether a specific condition is met (e.g., a required field is empty).
Customize the Error Icon: In the "Step Icon" section, you can choose a custom icon to display when an error occurs.
Additional Styling: Adjust the styling of the error icon to match your preferences.
Example:
Imagine a flow with a progress indicator and an Input Choice Set component on the second step. If the user doesn't select an option, you want to display an error.
Create a Boolean formula variable that checks if the Input Choice Set's value is empty.
Connect this formula to the "Has Error" attribute of the second step in the Progress Indicator.
Optionally, choose a custom error icon and adjust its styling.
Now, if the user tries to proceed without selecting an option, the second step in the progress indicator will display the error icon, providing clear visual feedback about the issue.
Last updated