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

When you create a new item is there a way to hide a field on the new item form? I have a status field which I dont want the user to fill in. I only want an admin user to be able to change the status. Is this possible?

share|improve this question
add comment

3 Answers

A few options that come to my mind are using InfoPath to create a customized form. Using rules and web services, you could look up the user membership and if the user was part of a specific group, show the column (hiding it for everyone else).

Or you could create a custom form in SharePoint Designer. Using some XSLT manipulation/multiple templates, you'd be able to display different forms depending on the logic build into the data form web part.

Or you could use some jQuery and SPServices to check the user group similar to above and use CSS to toggle the row.

Or you could enable the management of content types and mark the admin only field as hidden. This will remove it from all forms and then admins can manage the value of the column using views in datasheet mode.

To edit a field in a content type, go into the List Settings and you should see all the content types being used in the Content Types section. If not, go into the Advanced Settings and tick the Allow mamangement content types to Yes. When the screen refreshes, click on the desired content type, then click the desired field and toggle the Column Setting to Hidden.

share|improve this answer
    
How can I mark an field as hidden on a content type? –  John Oct 27 '11 at 15:43
    
Updated answer with steps. –  PirateEric Oct 27 '11 at 16:07
    
+1 for list of options and especially for the last, tricky one :) But can't resist to mention, that jQuery/SPServices approach is not secure, so if an ordinary user really wants to change status of an item, he can actually do it easily. –  Andrey Markeev Oct 27 '11 at 17:28
    
Right, it's just CSS manipulation. –  PirateEric Oct 27 '11 at 17:29
1  
Added the other possibility, custom form in SharePoint Designer, which would solve the "security" issue as it would all be rendered server side. –  PirateEric Oct 27 '11 at 17:32
add comment

Here is a post showing how to make this done with SharePoint Designer http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?List=676af157-7d96-4e15-a987-54b8a3e4d948&ID=3

you can also use this free add-on - http://www.infowisesolutions.com/product.aspx?id=SmartListLite

share|improve this answer
    
SharePoint Designer link is broken –  David Clarke Jun 24 '13 at 1:58
add comment

you can accomplish it by SharePoint Forms Designer, just create different forms for specified SharePoint groups using drag&drop interface.

share|improve this answer
add comment

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.