2

Can you make the HTML input file typeable? Instead of requiring to hit browse?

3 Answers 3

1

I can't necessarily speak for every browser in existence, but for every one that I'm aware of you can not without a browser add-on (flash, silverlight, etc.). This is a security feature to prevent a malicious web-site from "stealing" files from your local system with clever scripts.

Sign up to request clarification or add additional context in comments.

Comments

0

Not that I know of.

You can drag a file onto/into the input.

But if it was type-able you could technically get any file off their machine without them knowing.

Comments

0

This is a decision made by developers of browsers. Some make the fields manually editable, some only let you use the dialog. (It is worth noting that in Chrome/Mac (for instance), while the field itself isn't editable, you can type in the dialogue box).

You can't change this as a page author.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.