18 Jul 2024
Link to this post
HI,
We have a requirement to validate and check some conditions before a form is submitted. We are disabling the submit button in the UI. However we would like to do an additional check in the server side to make sure all the criteria are met before the form is saved to dynamics.
I am able to capture the ITpcPreMvcFormSubmitEvent Event. However when I return true or false, the form is still submitting to dynamics. How can we avoid the submission and show an error message to user that come criteria are not met to complete the submission.
Thanks
Mahesh