SP.Field.readOnlyField Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies whether the value of the field is read-only.
var value = SP.Field.get_readOnlyField();
SP.Field.set_readOnlyField(value);
Property Value
Type: Boolean
Applies To
Exceptions
- NotSupportedException
Value is changed, and the list is an external list. Error code: -1.