Hi,
How do I get the Current User who is filling out a form email address?
This code gets the Current User:
fd.field('Name_Stamp').value = _spPageContextInfo.userDisplayName;
fd.field('Name_Stamp').disabled = true;
Hi,
How do I get the Current User who is filling out a form email address?
This code gets the Current User:
fd.field('Name_Stamp').value = _spPageContextInfo.userDisplayName;
fd.field('Name_Stamp').disabled = true;
You can use _spPageContextInfo.userEmail
Perfect! Thanks Walter