1. <script src="https://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
  2. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/2014.02/jquery.SPServices-2014.02.min.js" type="text/javascript"></script>
  3. <script type="text/javascript">
  4. $(document).ready(function() {
  5. // get the title of current user
  6. var UserName= $().SPServices.SPGetCurrentUser({
  7. fieldName: "Title",
  8. debug: false
  9. });
  10. //populate the field ‘Requestor’ with the current account
  11. $('textarea[title="Requestor"]').val(UserName);
  12. $('input[title="Requestor"]').val(UserName);
  13. });
  14. </script>
In following Image you can see current user name will be auto populated on page load.