Jan 16th, 2013, 11:06 PM
Hi Juan,
There is no feature through the Form Tools interface that will enable you to append the submission ID to the filename You might want to consider using the Submission Preparser module: http://modules.formtools.org/submission_pre_parser/
Cheers,
Joe
There is no feature through the Form Tools interface that will enable you to append the submission ID to the filename You might want to consider using the Submission Preparser module: http://modules.formtools.org/submission_pre_parser/
Cheers,
Joe
(Jan 16th, 2013, 2:35 PM)jpsaenz Wrote: Hi!
i have a form with 4 file-upload fields, and this works fine, but:
When the file name already exists, FormTools makes the following: "1_ [filename.jpg]", this is fine, but I need the names to be provided as follows: [submission_id]_[filename.jpg]... and ideally, all characters are written in lowercase.
And this: always, not just when the names are identical. Is this possible?
I saw that in the "/gobal/code/actions.php" there is a variable "$ upload_tmp_file_prefix" but I want to change that; guess is to put the "1_" 2_ ", etc..
Can i incorporate this variable "submission_id" to the file name? Can you help me?
Thanks a lot! (and sorry for my poor english and the google-translation!)
Juan Pablo
My FormTools Version: 2.2.5., premium