The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
How to make file upload paths smarter - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16) +--- Thread: How to make file upload paths smarter (/showthread.php?tid=12999) |
How to make file upload paths smarter - poorya - May 31st, 2016 Hi, I have a form in my installation and want to create some copy of that for other people to work with. every thing works fine, except that I have to edit every upload field and change file paths to categorize files base on form ID. I looked around settings and in " Modules » Custom Fields » File / setting" I found 2 settings that may be used. There is "Folder Path" and "Folder URL" settings with a "Default Value" option that can be set as "Dynamic value". Is this value really dynamic? Can I add something here to affect all new fields and add form ID and/or Submission ID to file paths/urls. If there is any other way to do so, It would be great to learn from you. RE: How to make file upload paths smarter - poorya - Jun 7th, 2016 I really do not want to spam forum but there is no other way but asking, I think. Can anyone help? |