EditForm not allowed to save peoplepicker column value


Posted by lijupnandanan - Nov 24 ’16 at 03:50

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.

  • Dmitry Kozlov
    Dmitry Kozlov
    Member for: 8 years 7 months 26 days
    #1 by Dmitry Kozlov Nov 24 ’16 at 05:03


    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(){});

Displaying 1 to 1 of 1 messages