I am getting the error "SPClientPeoplePicker is not defined in custom edit form". But it is working properly in default edit/new item form. (Sharepoint Online)
Getting the below error when trying to use it in custom edit form.
I need to use SPClientPeoplePicker to manage the people picker values in the custom form. Please help.
-- EDIT --
I've added the clientpeoplepicker.js file in to the default edit form.But still not able to get the people picker fields object (added screenshot below). I think people picker fields in custom edit forms are different than one in the default edit form.