Announcements
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?
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator