Hello,
I'm contacting you because I'm currently having a problem filling a People Picker field based on the loginname of the connected user.
When I open my New Form, the user's name is entered in my field, with the good user selected, but when I validate, the value doesn't seem to be saved.
You can see below that the column is empty after saving :
However, if I delete the value and re-enter it manually, the registration works.
There is my code :
fd.spRendered(function() {
var userName = _spPageContextInfo.userLoginName;
fd.field('Utilisateur_x0020_concern_x00e9_').value = userName;
});
Can you please help me with this strange problem which is driving me crazy !
Thanks for your help