How to Populate People Picker value on Child Item
Posted: 03 Sep 2015
I'm using the following code to pre-populate information on a child form from the parent form (when using Related Item control):
//Pre-populate Information
fd.field('CheckType').value(window.top.fd.field('CheckType').value());
fd.field('CheckNumber').value(window.top.fd.field('CheckNumber').value());
fd.field('ProvisionBatch').value(window.top.fd.field('ProvisionBatch').value());
fd.field('Payee').value(window.top.fd.field('Payee').value()); <-- People Picker
fd.field('Payor').value(window.top.fd.field('Payor').value()); <-- People Picker
The code works great, except for People Picker fields. The information passes as blank.
Is there a way to populate that information?
//Pre-populate Information
fd.field('CheckType').value(window.top.fd.field('CheckType').value());
fd.field('CheckNumber').value(window.top.fd.field('CheckNumber').value());
fd.field('ProvisionBatch').value(window.top.fd.field('ProvisionBatch').value());
fd.field('Payee').value(window.top.fd.field('Payee').value()); <-- People Picker
fd.field('Payor').value(window.top.fd.field('Payor').value()); <-- People Picker
The code works great, except for People Picker fields. The information passes as blank.
Is there a way to populate that information?