Uploads: how to change filename?
-
I’m looking for a way to change the filename of uploads submitted through CF7. Currently I have a form with two upload fields, which are returned to me as email attachments. Because the filenames submitted depend on each user, sometimes it is unclear which file was submitted into which field. I would therefore like to ask:
Is there a way to change the filename of uploads?
Example:
Current upload field:
[file* file-cv limit:4194304 filetypes:doc|docx|pdf|odt|rtf|txt]
Returns Herpaderp.pdf as attachment. I am unclear what the hell it is.Preferred:
[file* file-cv limit:4194304 filetypes:doc|docx|pdf|odt|rtf|txt rename-as:[otherfield]-CV.[filetype]]
Returns: Username-CV.pdf as attachment. Now I know it’s the CV field’s upload.
- The topic ‘Uploads: how to change filename?’ is closed to new replies.