I have a case where i need to use same field (column) for 2 different content types. In one content type i wish the field to be read only and in the other not.

The xml of the field is readonly = true. I tried to use in the content type the attribute readonly = false , but in this case it won't display the field. The field is hidden .

Any ideas?

1 Answer 1


It seems that once you set the field to ReadOnly it is hidden from New and Edit Forms.

The only way to make it readonly is using either of two codes below :

$("input[title='Title']").attr("disabled", "disabled"); 



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.