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!
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
|
Here is an example of JavaScript utilizing jQuery for Newform page:
|
|||
|
|
|
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. |
|||||
|