Topic: How to pass form multipart data on ajax request?

I have a form that submits an uploaded file via ajax to an action that present another confirmation form retriving the data from the first and putting them in hidden fields for the subsequent post request. The problem is that in the ajax action if i access the uploaded file, and put it in an instance variable to assign it as an hidden field value, all i have as the hidden field value is the original path file string. Is there a way to pass a fiel object to an ajax action without losing data?

Re: How to pass form multipart data on ajax request?

I don't have mine completed, but the trick i you have to have an invisible iframe on the page and post to that iframe from the form. You cannot serialize the binary data from a multipart so typical ajax doesn't work.