Rename an attached file?
Hi,
I have a form with multiple javascript buttons for users to upload files. The issue is that if someone deletes a file, and uploads it again, the order of the file is out of sync and doesnt match the button that was used to upload.
ie. button1 to upload document1, button2 to upload document2, button3 to upload document3, delete document1, reupload document1 using button1
document order is as follows:
document2, document3, document1
Sequence of the documents is important, but if I can't get around that, is there anyway to append a prefix to the filename based on the name of the button that was used to upload the document?
ie. button1 to upload document1, document is named 'button1 - document1', etc.
thoughts? thanks in advance!
