How to prevent users from typing the filename into the text box of an input type file tag, allowing only the browse button to select the file? Any ideas?
The file input is readonly for you to put a value, only the client can select a file, you can't spécify anything. This protect the client from a site who wants to graba file in a computer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.