<input type=file>

Results 1 to 2 of 2

Thread: <input type=file>

  1. #1
    Join Date
    Dec 1969

    Default <input type=file>

    I&#039m using an INPUT TYPE=FILE element to allow a user to select a file. I can&#039t get a default file name in the text box though. Can anyone tell me how to do this?<BR><BR>I&#039m not actually trying to upload a file, just get the name and path.

  2. #2
    Join Date
    Dec 1969

    Default RE: <input type=file>

    You mean, pre-populate the input field with a file name? Not possible as long as the input type=file.<BR>This was done to prevent people from selecting commonly available files on a client machine & uploading them to the server.<BR>RFC1867:<BR>http://info.internet.isi.edu/in-notes/rfc/files/rfc1867.txt<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts