Get ID from people picker
-
- Posts: 20
- Joined: Wed Dec 23, 2015
Is there a way to get the ID of the user chosen in the people picker? Thanks!
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Dear Charles,
Please, try the following code:
It should work in almost all cases, but there is a chance that some users won't contain this information, so it does need testing.
Please, try the following code:
Code: Select all
fd.field('User').control('ready', function() {
alert(fd.field('User').value()[0].EntityData.SPUserID);
});
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests