PDA

View Full Version : pass extra parameter in file upload.



Johnbran
2 Jun 2012, 1:36 PM
Hello,
How would you pass an extra parameter in the file upload component? I would like to pass the directory where I want the file to be saved on the server.

Thanks

scottmartin
3 Jun 2012, 9:32 AM
You send it using params: { destDir: 'dir' } in your form submit and catch it on the backend?

Scott.