locked
Enable Date Field Via Java RRS feed

  • Question

  • I have a date field that is read only by default so that we can't mass edit it. When I attempt to enable via java it looks like it's enabled but the date picker does not work and any value I type in the text box does not save.

    I enable other fields with the same function but any of my date fields to not enable completely. Is there a fix for this

    Here is my code.

    Xrm.Page.getControl(ctr_name).setDisabled(false);

    I have also tried

    Xrm.Page.ui.controls.get("esi_invoicedate").setDisabled(false);

    Friday, June 6, 2014 9:31 PM

All replies

  • Hi Brian,

    What version/rollup of CRM are you using?

    ~ Atomic Coder

    Saturday, June 7, 2014 12:55 PM
  • Using 2011 ur16. I had ur17 on and thought that was my issue but backing it off did nothing.
    Thursday, June 12, 2014 6:38 PM