Form button that populates People picker


Badge +1

Hi, I have looked at several posts but can’t seem to figure this out.  I have a “service request” form.  Once submitted, it goes to my team for review.  I just wanted to add a button that will populate the people picker control (ie: Assigned To)  with the Current user.  It basically saves you from manually selecting your name if you decide to “take ownership “ of the request.  But I cannot figure out the code needed to populate the people picker control. 

 

Thanks!


3 replies

Badge +5

I suggest using the Advanced section --- Connected To setting of the button to change the value of a field, for example set a Status field to Request Accepted, then create a simple workflow that is triggered off that change and sets Assigned To = Initiator. You'll probably also want to make the button visible only to members of your team by using an expression in the Visible setting in the Appearance section.

 

2219i8D1BF016DE5BD643.jpg

 

Userlevel 5
Badge +14

have a look eg. on this example

https://community.nintex.com/t5/Nintex-for-SharePoint/Set-People-Name-based-on-other-field/m-p/58521/highlight/true#M48374

(it's not exactly on button click but it might get you on track)

 

 

see as well PeoplePicker API documentation

https://community.nintex.com/t5/Nintex-for-SharePoint/People-Picker-Extensions-Nintex-Forms/td-p/83770

Badge +1

thanks all for the suggestions!

Reply