CA Service Management

  • 1.  How to grey out the check box

    Posted Jun 07, 2017 04:47 AM

    How can we grey out the check box at form level in CA Service Desk Manager 14.1 SP2.?



  • 2.  Re: How to grey out the check box

    Posted Jun 07, 2017 08:32 AM

    Hi,

    you can use dtlCheckboxReadonly control macro if you need readonly checkbox.

    if you need to do this on-the-go, you can use javascript/jquery:

    function zDisableCbx(attr) {
         if (jq("[pdmqa=" + attr + "]").attr("disabled")) {
              jq("[pdmqa=" + attr + "]").attr("disabled", false);
         } else {
              jq("[pdmqa=" + attr + "]").attr("disabled", true);
         }
    }
    // example: zDisableCbx('internal');

    Regadrs,

    cdtj



  • 3.  Re: How to grey out the check box

    Posted Jun 07, 2017 08:40 AM

    With nothing to look at, i will answer that it is something like :

     

    in your form code, replace the pdm_macro name=dtlCheckbox with pdm_macro name=dtlCheckboxReadonly

     

    Not sure about the syntax