Topic: Why start upload and then the submit button?

anyone know why you have to click two buttons to complete the upload?
Is there a way to not have to click the submit button after you start the upload?

Re: Why start upload and then the submit button?

It's just how widgets are written. If you are working directly with Core API you can do whatever you want. Inspect Documentation and Examples sections on this website. There were some helpful topics on the forum too.

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

Re: Why start upload and then the submit button?

There is a discussion with code examples of immediate upload in this thread:

http://www.plupload.com/punbb/viewtopic.php?id=437

And here is a very stripped down example of immediate upload here:

https://gist.github.com/815706

The example uses the html4 runtime only (it was for a bug report), but you could change it to use any/all runtimes by including the appropriate plupload runtime file and modifying the "runtimes:" setting.  For example:

add:

<script type="text/javascript" src="plupload.html5.js"></script>
<script type="text/javascript" src="plupload.flash.js"></script>
.... (and whatever other runtimes you want)

likwise:

runtimes:'html5, flash, html4' ,  // And add any others here as well.