Trigger upload from JavaScript is not available without customization because if could be a security hole. However, extending the JSAPI should be easy to add this feature if you have Java skills. I'm going to send you an email with JSAPI.
private String getBorderLayoutLocation(String locationStr)
{
String ret = BorderLayout.CENTER;
if (locationStr != null)
{
if (locationStr.equalsIgnoreCase("top")) ret = BorderLayout.NORTH;
else if (locationStr.equalsIgnoreCase("bottom")) ret = BorderLayout.SOUTH;
else ret = BorderLayout.CENTER;
}
return ret;
}
This does not allow the buttons to be placed on the left side of the file grid; it only allows to the top & bottom of the file grid.
The designer wants to be able to have multiple batch file uploads on one form (each with a different prompt for 1 or more files) & when the submit button is pressed: all the file uploads are to be done & the form submitted to the server.
Thanks for the screenshot. For now, only top and bottom location are available.
We're working on some fixes and we could add this improvement in the same time. It can be available at the beginning of next week.
BTW: We've sent you an email with JSAPI, did you receive it?
All required libraries are included in the premium packages (under lib/ folder). You just need ANT + JDK to build the application. You can also create a project in Eclipse IDE.
If you don't want to spend time on this then we could implement the customization for you. Contact support(at)jfileupload(dot)com to get a quote.
I had to copy the commons-logging-1.1.1.jar downloaded from http://commons.apache.org/logging/ to the apache-ant-1.7.1/lib directory for a successful build.
We've added the ability to move the "Select File(s)" button on the left (top, bottom or center) of the grid in JBatchUpload. Please see screenshot below and let me know if it could fit to your need.
I understand, you would like each button on one line or on one column ?
- One line => Select File(s) | Start Upload | Cancel
- One column => Select File(s)
Start Upload
Cancel