Forums

Folder for each submission

mattiadj 05 Feb, 2013
Hello to all,
i'm using CF 3.1 RC5.5 on Joomla 1.5.
Since every form i have created has a lot of uplaod input file i want to know if is possibile to create a folder on the fly during the upload with all files of this submission! The name of folder can be the current timestamp for example.

Of course i need to report into the mail the name of created folder.

Any suggestion??
GreyHead 05 Feb, 2013
Hi mattiadj,

That is a very old version of ChronoForms :-(

I don't think that there is any way of doing that directly.

It may be possible to add PHP into the file name box to add a folder, I'm not sure that this will work though.

You could probably use the Custom Code After Email box to add PHP to check the file, create a new folder and then move the file.

Bob
mattiadj 07 Feb, 2013
Thanks bob. It's may be a good suggestion.
I can try it and report...
Thank you!
This topic is locked and no more replies can be posted.