Default Entry for People Picker Field

Forums Dynamic Forms for SharePoint Default Entry for People Picker Field

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #24647
      Shawn Keene
      Participant

      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
      AdamP
      Participant

      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
      Participant

      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
      Participant

      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?

Viewing 3 reply threads
  • You must be logged in to reply to this topic.