Possible changing color for CRM read only field? RRS feed

  • Question

  • Hi all,

    For those fields we check as read only in form design, it will appear as grey color text.
    I manage to change those varchar data type CRM fields,
    but for the PICKLIST, MONEY INTEGER, DATE TIME seems will not reflect the changes. (Event i applied the CSS and use IE toolbar to see the actual text color)

    any suggestion?

    Toong Yang
    Monday, August 10, 2009 7:18 AM


  • Besides the DateTime field which has a complex DOM structure all other fields should change their color when you use

    crmForm.all.<field id>.style.backgroundColor = “red”;


    the DateTime field should also include painting of the inner text box e.g.

    crmForm.all.<field id>.getElementsByTagName(“input”)[0].style.backgroundColor = “red”;



    Blog: http://mscrm4ever.blogspot.com/ * Website: http://gicrm.upsite.co.il/
    Monday, August 10, 2009 9:24 AM

All replies