jQuery-File-Upload icon indicating copy to clipboard operation
jQuery-File-Upload copied to clipboard

Sending Additional Form Data.

Open delasare opened this issue 14 years ago • 4 comments

I've followed the tutorial on how to pass additional FormData on submit. It seems like the data is being sent, but I am confused as to how to access that data in upload.class. Any direction would be appreicated.

delasare avatar Mar 07 '12 04:03 delasare

For C# you can access the formData using,

HttpContext.Current.Request["formvariableName"]

vijendrapatil avatar Mar 07 '12 08:03 vijendrapatil

I'm using PHP and requesting $_POST['formVar'] like this. I'm not sure its the correct way to get that data.

delasare avatar Mar 07 '12 13:03 delasare

I think I got it. I set another param in the __contstructor and that seemed to do the trick. Thanks for your input vijendrapatil

delasare avatar Mar 07 '12 13:03 delasare

Glad you found teh solution. hey btw, i have one issue, if you find any solution for this then please let me know.

https://github.com/blueimp/jQuery-File-Upload/issues/1076

Thanks

vijendrapatil avatar Mar 07 '12 14:03 vijendrapatil