I have been getting lot of queries on my earlier blogs in which people look for approaches to colour Text field or other CRM form fields.
This blog is to just mention the most supported approach. Look at the Account form below:
If you notice Account name highlighted in yellow, the field text value is marked in red. I have used html web resource to achieve this:
<!DOCTYPE html>
<html>
<head>
<style type=”text/css”>
input, select, textarea {
color: red;
}
</style>
</head>
<body>
Account name: <input type=”text” name=”FirstName” value=”Test”><br>
</body>
</html>
With a little more scripting using Xrm namespace you can add the setting of actual CRM field. Also, you can apply CRM look alike CSS to the html web resource.
Hope the approach is clear. Also, this is not suggested if the number of fields is too many.
Hope it helps and Happy CRMing.
Do leave me comments if you want to discuss.