Default Entry for People Picker Field

Forums Dynamic Forms for SharePoint Default Entry for People Picker Field


This topic contains 3 replies, has 3 voices, and was last updated by  Shawn Keene 2 months, 2 weeks ago.

  • Author
  • #24647

    Shawn Keene

    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

  • #24653


    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.

  • #24664

    Keith Hudson

    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.

  • #24690

    Shawn Keene

    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?

You must be logged in to reply to this topic.