Topic: Queue Widget Must Click Upload Files First

Hi All:

I am having an odd issue.  I am using the queue widget and when I click on my form's submit button the upload process starts, and the files are uploaded to the temporary upload directory but the files are not moved to their destination folder.

However when I click the Upload Files button wait for the files to finish and then submit my form, the files are uploaded and moved to their destination folder.

Any help is greatly appreciated.

Thanks very kindly in advance.

Re: Queue Widget Must Click Upload Files First

Do not just blindly use examples from the bundle - not be afraid to customize them to your needs smile They are not meant to be an example of best practices or something. They are just examples.

Please post your code, so that we could see what exactly you do.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Queue Widget Must Click Upload Files First

I have similar issues. When I submit the form the uploader starts and when it is ready the form is submitted. But when I echo the submitted values in my php script the [uploader_count] always is 0.

When I click the Upload Files button wait for the files to finish and then submit my form, the files are transfered correctly.

I used the upload.php and the sample provided here:
http://www.plupload.com/example_queuewidget.php

I also use follwing jQuery plugins, but don´t think that they interfere:
jqtransform
jquery.validate
jquery Tools
jquery uniform

Re: Queue Widget Must Click Upload Files First

It submits the form too soon. If I put:

setTimeout(function() {$('form').submit();}, 100);

instead of just

$('form').submit();

it works.

It's not really a solution, but at least we know where the problem is.

Re: Queue Widget Must Click Upload Files First

Does a solution from this thread solve the problem?

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Queue Widget Must Click Upload Files First

Thanks, it solves the problem.