EditForm not allowed to save peoplepicker column value

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
lijupnandanan
Posts: 16
Joined: Mon Apr 11, 2016

24 Nov 2016

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.

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

24 Nov 2016

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

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests