Is it possible to upload a file to a given directory based on what is selected in the form. for example
a simple drop down with 2 options. Option A and Option B.
if option A is chosen it will upload to directory A
if option B is chosen it will upload to directory B
a simple drop down with 2 options. Option A and Option B.
if option A is chosen it will upload to directory A
if option B is chosen it will upload to directory B
Hi woogygun,
You can certainly do this by moving the file after it is uploaded. Put the code in one of the OnSubmit boxes.
You *might* be able to do it using a dynamic file name in the File Uploads box - I'm not sure if this will let you specify a folder as well as the file name.
Bob
You can certainly do this by moving the file after it is uploaded. Put the code in one of the OnSubmit boxes.
You *might* be able to do it using a dynamic file name in the File Uploads box - I'm not sure if this will let you specify a folder as well as the file name.
Bob
Hi Bob thanks for the speedy reply.
im not the most code friendly developer, but i can find my way around when i need to.
could perhaps explain a bit more in detail?
im not the most code friendly developer, but i can find my way around when i need to.
could perhaps explain a bit more in detail?
Hi woodygun,
Sorry to be so long replying. I've now worked out a couple of ways to do this the outlines are in a post here where ther is also a more complicated solution from gorangrooves. I've written them up in more detail along with other file and folder code in a How-to doc you ce get for a few dollars.
Bob
Sorry to be so long replying. I've now worked out a couple of ways to do this the outlines are in a post here where ther is also a more complicated solution from gorangrooves. I've written them up in more detail along with other file and folder code in a How-to doc you ce get for a few dollars.
Bob
This topic is locked and no more replies can be posted.