3

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?

4 Answers 4

5

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

2

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.

1

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

1
  • i have implemented custom edit forms to achieve this functionality in my project and its working fine Dec 26, 2012 at 9:57
0

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.

Your Answer

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

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