Support

Account

Home Forums Backend Issues (wp-admin) Append field value to the name of an uploaded file

Unread

Append field value to the name of an uploaded file

  • Hi,

    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)

The topic ‘Append field value to the name of an uploaded file’ is closed to new replies.