wezetel
Active Member
After having some problems with standard uploads ('no such file') I switched to Ajax uploads for my uploads. This seemed to work, but now I have seen the upload directory is not used as expected. I have a date field in my forms whichs value should be the folder. This works for standard uploads (which I still use for files in repeating groups).
Example:
Btw.: I just updated from github
Example:
- date field {form___date} has value 2015-01-01
- Upload path defined as images/stories/{form___date} in fileupload plugins (Ajax and non-Ajax)
- Non-Ajax files are stored in folder images/stories/2015-01-01
- Ajax files are stored in folder images/stories/{form___date} (which means the element name is not replaced with the elements value)
Btw.: I just updated from github