SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to display both the Name and Department fields from a Person. So I can select two People columns and have one display Name and one display Department, but I'd like to autofill the Department column with the same person that was chosen for the Name column. How can I do this? Thanks!

share|improve this question
Do you have infopath by chance? – GenePA Sep 11 '12 at 20:47
No, not that I know of. – Ryan Sep 11 '12 at 21:04

I typically do it behind the scenes with a workflow to update that column to the value specified in the form. This means the deparment field doesn't have to be on the form itself, making it shorter.

Other options include code on the Newform page.

share|improve this answer
I've tried looking at the workflows I have available, but none of them seem to fit the bill. What workflow template would you use? Perhaps I don't have the correct one available. Thanks. – Ryan Sep 11 '12 at 23:04
I just use update item actions and set the person field 2 to person field 1. – Eric Alexander Sep 12 '12 at 14:24

Here is an example of JavaScript utilizing jQuery for Newform page:

var $pickers = $('div[title^=People]');
share|improve this answer

Your Answer


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.