Tuesday, May 21, 2013

Setting Read Only Colors with JavaScript

Using JavaScript/Jscript to dynamically set a field to disabled or read only can come in handy.  But when you make this change, the colors of the field don't match the standard read only field colors that CRM sets when you manually set the read only attribute.  This post describes how to set a field to read only in javascript AND make the colors consistent with other read only fields on your forms.

C5_Insight

About C5 Insight

We are a Microsoft Gold Certified partner focusing on SharePoint, Microsoft Dynamics CRM and Salesforce.com.  Learn more about us by visiting our website.

Search

We Wrote the Bible on Microsoft SharePoint and Dynamics CRMBook-Microsoft Dynamics CRM 2011 and SharePoint 2010 Bible

Tags

Maximize

Recent Comments

Maximize

Blog Roll

Maximize

Disclaimer

The information herein may be used solely at your own risk.  No warranty is made by the author or by C5 Insight, Inc.

The opinons expressed herein are those of the individual authors and do not necessarily represent C5 Insight, Inc in any way.

Copyright 2011 by C5 Insight