This forum is a community forum meant for users of the plugin to collaborate and help solve issues with implementation, etc. Unfortunately, as the creator of the plugin, I do not have much time to attend to every request here as this is only a side project and I must work a full-time job to provide for my family. This is how I keep the Flash version free and the HTML5 version low cost.
UploadiFive 1.1.1 has been released which includes a small fix for added support on touch devices including iOS 6 devices.
Using Uploadify "synchronously"
  • I've used uploadify in two projects now, and i have to say its a great plugin.
    My current project however need something i can't seem to do.
    I want to save a form but the form could contain several file fields. I'm using uploadify to "ajaxly" upload the files to the server. and using jquery.post to save the other form fields.
    Here is the problem, the form fields save in a database line that should reference the files that was uploaded with it. But since uploadify and the form are both ajax, working asynchronously, I cant get the ids of the files before the form would have saved.
    So is there a way to make uploadify work with synchronous such that i can get back the information from the server, the clean up, before the jquery.post which save the other fields in the form.

    Thanks for any hints
  • you have to upload your files first, then use uploadify event "onQueueComplete" (v3.0.0) or "onAllComplete" (v2.1.4) to submit your form the way you want...
    What I usually do is to save images infos in hidden fields in the form every time an upload is completed sucesfully (using uploadify event onUploadSuccess (v3.0.0)), like this:onUploadSuccess : function(file,data,response) {
    $("#myForm").append("<input type='hidden' id='img_"+file.id+"_fileName' name='img_"+file.id+"_fileName' value='"+data+"' />");
    },
    then, when all my uploads are completed sucesfully, I call the ajax function that records the form fields in database via ajax from onQueueComplete event in uploadify...