Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've got a list (based on custom list) with several custom columns. There is one column, that I want to protect from changes by the user (it will be set/changed by webservice call and should not be changed in UI).

How can I hide/disable this column in the new and edit forms, when customizing with InfoPath oder SharePoint Designer aren't options?

share|improve this question

4 Answers 4

up vote 5 down vote accepted

Do you want to show this field in the Display Form? If not you should mark your field as hidden in the content type properties it won't be shown in the forms (in InfoPath too).

If you want to show it on the Display form only read this post

share|improve this answer

You can also hide the columns using the SharePoint Manager 2010 utility. All you have to do is navigate the tree structure of your SharePoint server [Web Application -> Site Collection -> Site -> List -> Fields] and then edit the ShowInXXXForm property in the right menu and click save. I found the solution on this detailed blog entry.

share|improve this answer

You can try Forms Designer tool. It provides easy-to-use browser interface to design forms, hide or disable fields. With its rich javascript framework you can make more complex logic, e.g fill some fields' value based on other fields.

share|improve this answer

You can achieve this functionality by using custom edit forms and override the CreateChildControls method as described in this article : http://www.helpmeonsharepoint.com/2012/10/read-only-fields-in-some-lists-for-some.html

share|improve this answer
    
i have implemented custom edit forms to achieve this functionality in my project and its working fine –  Vivek Kumar Dec 26 '12 at 9:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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