0

I am trying to disable the ability to resolve a case in CRM unless a couple fields have data. I would like to gray out the case resolution action and was wondering if anyone knew how to do this on the form Load.

Thanks!

4

1 回答 1

1

尝试在 Case 表单的 OnLoad 事件上使用此代码:

var menuItem = document.getElementById('_MIresolve');
if (menuItem)
  menuItem.disabled = 1;

您可以 Ctrl+N 任何 CRM 页面,以便能够查看其源代码并找出控件的 ID。

于 2009-03-25T15:35:35.787 回答