Support Article
Displaying 'Show next error' on bottom of the screen
Summary
The user is getting the error messages displayed at multiple places on the screen.
Initially when they click on 'Add Product' (button to proceed the flow action i.e. a child case is added) then it displays an error message below the field and ‘Show next error’ at the bottom of the screen. Further when they click on the button to just save the details and not add a child case then the validation error messages are displayed at multiple places which user finds inappropriate.
Error Messages
Not applicable
Steps to Reproduce
- Validate a property through 'Apply Conditions' to valid characters.
- On the post actions tab of the flow action where this field is used,validate the same with a Rule -Obj-Validate rule.
- Now instead of submitting the flow action,save the screen to find 'Show next error' message.
Root Cause
This is expected behavior and can be configured as required.
Resolution
At the Harness, modified the Display Options so that the errors are shown only at the filed and there was one more issue which is for "Layout Group" there is a separate div displayed on top of Layout group.
User didn't want this and hence added the below code in the non-auto generated section and included it in the section required.
<script>
_addLayoutErrorMessage = function(layout) {
}
</script>
Published October 7, 2016 - 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.