Has anyone successfully managed to get the value of a User (Person or Group) field from the New or Edit form specifically for SharePoint 2013?
I have tried all solutions I can find from searching the internet and everything I can think of myself, all resulting in the result being blank or undefined.
The closest I’ve got have been from the following links where the latter worked for setting the value if anyone is interested but I was unable to successfully adapt it to retrieve the value.
http://www.sharepointcolumn.com/sp2013-setting-people-picker-value-in-newform-aspx/
My goal is to set the value only if it is empty but I can’t get the current value.
Looking in the DOM there are numerous HTML elements which have attributes containing the value but using JQuery to retrieve those attributes results in blank or undefined. I have confirmed I have the correct object with the title or id attributes. There is one HTML element where the title attribute has the value and still the JQuery returns blank or undefined in that particular case.
Thanks for any assistance you may be able to give.