Forums

Form with file upload to exclusive folders

Riceman 01 Dec, 2011
Aloha,

I see that I can create a form that allows for multiple file uploads, and even with Emmanuel Danan's ChronoForms plugin I can compress/re-size the image on upload. Great.

What I need to do is figure out a way to either append the files so I know which files are attached to each form submission, or have each form submission put the files into a newly created directory specific to that form submission.

Is this possible?

Thanks
GreyHead 02 Dec, 2011
Hi Riceman,

You can add PHP in the FileName format box and use this to set custom names or folders. If your users are registered you can identify by user-id; otherwise you can add a unique transaction ID in the OnSubmit code boxes and use that.

Bob

PS I have a help document that you can buy about file and folder renaming if you want more detail.
Riceman 04 Dec, 2011
Aloha GreyHead,

That doc looks like it will be what I need. Can I ask you this first? I am not a php coder, although I do know enough to cut and paste code, and sometimes get into trouble. I am willing to give it a go. If I run into a problem, can I still ask for support? Or maybe pay for you to accomplish the task?

Thanks,
Andy (Riceman) Rice
GreyHead 05 Dec, 2011
Hi Andy,

Sure, you can still ask for help free or paid.

Bob
This topic is locked and no more replies can be posted.