-
pabgarmiAsked on November 2, 2014 at 11:18 AM
-
David JotForm Support ManagerReplied on November 2, 2014 at 12:11 PM
Yes, a submit button clearly indicates the user that she can click it in order to submit the values entered by her in the form, which is important from usability point of view.
If you are on planning to accomplish that, you would need to download the source code, And accomplish that with Jquery or JavaScript.
Using Jquery:
<form id="target" action="destination.html">
<input type="file" id="file" value="Go" />
</form>
$('#file').change(function() {
$('#target').submit();
});
A shorten way to do this is defining the submit in the onChange setting in the input tag for the upload:
<form action="http://example.com">
<input type="file" id="file" onDISABLEDchange="form.submit()" />
</form>
But still, my recommendation is to keep the submit button. Hope this helps you.