set default people picker based on other field

  • 22 September 2016
  • 7 replies
  • 15 views

Badge +5

When a user selects "International" from a check box on my form, I want the Travel Approver to be set to a specific Username. How can I do this (it annoys me that this is a simple rule in InfoPath) but seems quite a challenge in Nintex Forms.


7 replies

Userlevel 5
Badge +14

with nintex you have to use javascript code to populate PP control.

have look here for PP API  

Userlevel 4
Badge +7

Michael Campbell

have a look at this Populate People Picker with user Line Manager 

Badge +16

‌ did you ever resolve this?  Are you able to mark either of the responses correct?

Badge +5

I was never able to get this to work.

Userlevel 5
Badge +14

this search should provide some more examples https://community.nintex.com/search.jspa?q=NF.PeoplePickerApi+search+add 

if that still doesn't help, you have to provide more details on your setup where did you stuck on 

Userlevel 4
Badge +7

Hi

Can you share you code? setup of of fields etc?

Badge +3

None of these responses seem to help and I can't find an answer anywhere. Does anyone know how can I get a People Picker control to take a default value from a calculated field and still be editable?  Any help would deeply appreciated. 

Reply