Page 1 of 1

EditForm not allowed to save peoplepicker column value

Posted: 24 Nov 2016
by lijupnandanan
Hi,
In my list I had a peoplepicker column. When edit the list item it won't populate the Person or Field column. And it wont allow me to save the item on edit form. In my master page I referred sp.js file.

I got a solution like this

SP.js file is already in the page. You only need to wait until it’s loaded. Use SOD (scripts on demand):

SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function() {

// your code here

});

In my spform designer I didnt add any script. Itried with this

SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function());

This also didnt populate the data.

Re: EditForm not allowed to save peoplepicker column value

Posted: 24 Nov 2016
by Dmitry Kozlov
Hi,

The form does not work because of your custom code in the master-page. Try to comment out it and try again. Also, you have a syntax error in your code in the form. Must be:

SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function(){});