This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Rename file UPLOAD
Started 11 years ago by AguilaFan | 1 post |
-
Hi, would really like to be able to RENAME the file being uploaded to values that I select from the fields on the form being created.
For example,
First Last name of uploader. = John Brown and the extension will be the original extension. So if he uploaded a file called headshotFormalPIC Headshot12-13-45.jpg., it will be saved as johnbrown.jpg
Maybe use the date file is uploaded. The date 20131126-1. and then have all subsequent uploads have that filename +1 = 20131126-2
I use the UNIX timestamp a lot in my forms as it allows unique records and also when SORTED, will be done correctly.
Could even have the form entry number as a choice. This way it matches the form entry data.Truly Machform has allowed me to do so many more things and be on top of my game. This little enhancement will make my work even better. I have to use a 3rd party app that allows me to change the picture file names to anththing I want...biut it takes about 20 minutes everytime I do it and I do it 2-4 times a day.
Thanks!
Posted 11 years ago #
Reply
You must log in to post.