I couldn't find the answer to this question using search.
I would like to use an input box with a type of file, which users will then use to upload a file. But I also want to disable the text input, so they can ONLY use the browse button to select a specific (existing) file, rather than typing "I don't have a file yet" which causes the form to fail! Is there any way to do this using the INPUT tag, or should I write some javascript to achieve this?
Thanks in advance for your help.
I would like to use an input box with a type of file, which users will then use to upload a file. But I also want to disable the text input, so they can ONLY use the browse button to select a specific (existing) file, rather than typing "I don't have a file yet" which causes the form to fail! Is there any way to do this using the INPUT tag, or should I write some javascript to achieve this?
Thanks in advance for your help.