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

In my Custom Newform.aspx I need a field that gives me the possibilty to insert a person or group known in the AD. How can I do this? Probably a kind of javascript or something like that.

It would be great, if it would behave like the control in sharepoint everybody knows from setting an administrator to a sitecollection. Has somebody got a solution for my problem?

Thanks in Advance Stefan

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Assuming that you are working with Custom List, every Column in that list has a data type associated with it. If you specify "Person or Group" data type for your custom field, SharePoint will automatically display the people picker control.

share|improve this answer
    
Works great. Such a simple answer made my day:) –  user1832 Nov 12 '10 at 14:12
    
I've forgotten to say: Thanks a lot! –  user1832 Nov 12 '10 at 14:59
    
Glad to help you.. Good Luck! –  Ashish Patel Nov 12 '10 at 15:07
add comment

Your Answer

 
discard

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