I have a field on a form whose default value is the user's display name, for example John Smith. This form is re-used multiple times, but once it has its value it does not change even if a different user submits it after John did. I want this to hold the display name of whoever is currently filling out the form.
I figured an easy way to do this would be to use JQuery to blank out the field, then fill it in with the current user's display name. However, I'm not sure how to access that display name through JQuery. Would anyone know how to access that, or is there a more robust way to ensure that the field always holds the current user's display name instead of only the first user who submitted the form?
Thanks