Can anyone suggest a way in which the file name of an uploaded file could be appended with the value from another field? For example, I have a “student name” field, and a file upload field. If the student name field has the value “Bart Simpson”, I need an uploaded file which has the name “my-document” to be renamed “Bart Simpson my document”. Hope that makes sense. If anyone can think of a way to achieve this, I’d be very grateful. I’m using ACF Pro and Advanced Forms. Students are submitting entries for a competition, and it would just make things easier to have the files they upload dynamically named in this way, so that they’re easier to sort through.
Thanks in advance.