Have a file input form upload when a user clicks “open”
I am wondering if this flow is possible: Click a button that says "Upload". It is styled very differently from the usual . It does not show the "No file selected" text. The usual file browser pops open. The user chooses a file to upload. They click the "open" button in the file browser. Upon clicking "open", the file browser is closed (like normal) and the file immediately begins uploading (unlike normal where it requires a submit). I detect when the file is finished uploading, and direct to another page. Here is how I would try to implement it: Custom CSS on input button - this doesn't seem