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
Depends on how you are thinking to implement it. But here's what I did in one of my projects.
Step 1 Uploaded the file using Ajax :
upload file using jquery ajax How to upload a file using jQuery.ajax and FormData Google
Step 2 On upload finish, my server-side script returns a JSON - Depends on what server-side language you're using.
Step 3 I parse that json to see if the upload was successful and then take necessary steps