While I've seen this question posted in a similar style before, one critical point (in my opinion) hasn't been addressed - is there a way to achieve this without using JavaScript? On mobile devices, overscripted sites can sometimes have non-working buttons or other issues until the page is refreshed due to JavaScript breaking. This could happen if the internet connection is slow or if there's a break in the connection. Therefore, I'm looking for a solution that doesn't rely on JavaScript but still allows file name display.
In short (TL;DR version)
- Style file input like bootstrap
- No JavaScript
- Display filename
Is there a method to achieve this?