SP2013 on prem
I need to record and display the user who performed an action in a form. The action could either be clicking a yes/no check box or a button. I know how to retrieve their display name - userProfileLookup(CurrentUser,"PreferredName")
If I display this in a calculated value it will recalculate each time a different user opens the form. What's the best way to record the name of the user and display it in the form permanently?
Maybe I could have the workflow store the value in a list column, and use a calculated value that has the logic to tell if it should display the current user (when the action was just performed) or the stored user (if the action was previously performed)? Either way I do need the information to be display immediately when the action is performed, as well as on later occurrences of the form being opened.