Make Dynamics CRM 2011 field readonly NOT disabled

1.1k Views Asked by At

I would like to make a inputfield readonly. I am familiar with the setDisabled() method in XRM, the downside of this method is that it is not possible to copy/paste values from the fields.

Is there another way then using javascript/jQuery directly to set the readonly property on the field by using it's field name?

Kind regards Rim

1

There are 1 best solutions below

1
On

You can use jQuery to do this:

$("#element").attr("readonly" , "readonly");