Having a problem with Person Group Picker. I add a PGP
control to the form and then drag it’s DisplayName and AccountID there also to
view/reference.
If I manually enter a name, say John Doe, into the control
and check it, the DisplayName shows “John Doe” and the AccountID shows “i:0#.f|membership|[email protected]”
like I’d expect.
However what I really want to do is default the control to
the current users name. I’ve found posts that explain to set the default value
for both DisplayName and AccountID to UserName(). That works, except that the
DisplayName remains set to “i:0#.f|membership|[email protected]”. Does not
seem to update it even when form is submitted or saved.
I tried leaving the DisplayName default unset. But then
DisplayName just remains blank.
Is there a way to trigger and update of this field?
Background: I’m using InfoPath 2013 published to a
SharePoint/Office 365 site.