Nintex Newbie

Re: Setting fields using jQuery

Jump to solution

I have a similar question and am a beginner to using JQuery.  I am trying to use jquery to populate a people picker (assignee) when a form is in edit mode.  I thought i would try to get the basics right first to populate people picker using current user when form is initiated.  Within the control settings, the Store Client ID in JS variable is set to yes for the control, and the JS variable name is set as 'AssigneeId'.  I used code example you used and pasted into the form custom JS settings box:

NWF$(document).ready(function () {
   var varUserId = Current User
   var varAssigneeId = new NF.PeoplePickerApi('#' + AssigneeId); (data) {

Any help appreciated.




SharePoint 2013

0 Kudos