Notifications
Announcements
No record found.
Hi, I am looking for a JavaScript solution for the following scenario:
In the case form, when we click on “Resolve Case” button, it will check if a text field has data being updated or not. If it is blank, a message should pop-up and it should not allow to resolve the case until the field has been updated. Note: the field is not mandatory, but it needs to be filled before resolving
Currently we are using Ribbon Workbench, we used Run workflow and in the Error Callback JavaScript we added Xrm.Navigation.openAlertDialog({text: /Cannot resolve this case. Possible Cause: Please check if all child cases has been resolved/}); but still this does not check the condition.
Is there any possibility where we can achieve this with JavaScript code?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 55 Super User 2025 Season 2
Daniyal Khaleel 27 Most Valuable Professional
Soundari 15