Default Entry for People Picker Field
- This topic has 3 replies, 3 voices, and was last updated 7 years, 7 months ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Classic DFFS › Default Entry for People Picker Field
Tagged: people field
On initial load of the NewForm.aspx, can I pre-fill a single-entry People field with the current user’s name? They can change it if they want, but 99.9% of the time they’ll want it to be their own name and defaulting to this would save some data entry time on the form
I think I would just do a newform rule triggered on form load to populate the field with {currentUser}. All done in the rule config.
I do it by setting the field to {currentUser:Email}. Using JUST {currentUser} inserts first and last name as separate entries which does not resolve correctly. The results may be different in different SharePoint farms.
Thanks for the suggestions. I configured the rule but {currentUser:Email} autopouplates the list with an error that the Email field wasn’t found. Just {currentUser} seemed to work for most users, but I’m wondering what other fields are available beyond email?