I don’t want to see ‘no file chosen’ for a file input field

You can’t get rid of the ‘no file chosen’ entirely, but you can change the text to something that makes sense by setting the title.

<input type="file" title="foo">

will display “foo” on mouseover instead of “no file chosen”

unfortunately,

<input type="file" title="">

doesn’t work like you might hope.

Leave a Comment