I would like to get the value of a people picker field in NewForm.aspx (if a user has entered a name), take that value, and set it into the list.
The problem is that I'm getting the error "Invalid data has been used to update the list item". So, I figured that the value I'm storing is incorrect(?). I've looked at other solutions online but they don't offer much help.
Is there a proper way to get the value of a people picker field using jQuery and then add it into a list?