开发者

Showing fields as readonly in Edit Form of List Item in SharePoint

I have a list which has 5 columns in it. Some of these fields help the user fill in the data but I don't want the user to modify these fields.

I have tried changing the field to readonly but that ends up hiding the field completely from the form. Is there开发者_JAVA百科 a way to get the field to render out to the form as just text?

Maybe I need to use javascript to disable the fields programmatically - would prefer not to go down that route though..


You must define your own RenderingTemplate that will use your own, custom ListFieldIterator. (an excellent article)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜