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.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users