Question
Modal Dialog getting closed even though there are error messages in the popup
On a button ,there is a local action configured by hiding the buttons and created two buttons cancel and confirm in a section.This is section is referred in the flow action.
There is a option for user to enter no of months and validation fires at property level that it should not be non negative value.
on click of confirm button,there is an on click event which triggeres couple of activity and cancel event also. i should restrict the user from going of the popup if there is an error message.Please suggest me your thoughts how to achieve this.
Thanks
Rashmitha
The OOTB submit should handle this if you configured the validation on the flow action that is being loaded. Maybe we can take a step back and discuss what requirements lead you to hide these buttons and to create/maintain your own. If we can address that and move back to the OOTB submit, this issue might become not applicable.