Support Article
Validation error removed on section refresh
SA-13207
Summary
There is validation rule configured on a Flow Action to compare the value of two text input fields. These input fields are configured as required. A Refresh Section action is configured for onchange event on these two properties. During flow execution, on entering two different values in these text input fields, an error is displayed and focus remains on the first property. On clicking outside the text input field (anywhere on the screen) the validation error is removed.
The expected behavior, is that the validation error remains on screen, regardless of section refresh.
Error Messages
Not Applicable
Steps to Reproduce
1. Create two text input properties and a Refresh action on Change event for both the properties.
2. Configure a validation rule, to check first property == second property. Call the validation rule on Flow Action.
3. Enter different values in the two properties.
4. Click Submit. Validation errors are displayed.
5. Click outside the field anywhere on the section.
Root Cause
The root cause of this problem is software use/operation error. As this is a expected behavior.
Resolution
This behavior is as per design. Error messages are removed on focus-out for the fields that are touched to be set again through the original action; Submit in this case.
Published August 27, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.