mmaz
Programmer
- Nov 22, 2000
- 347
Hi,
I'm uploading a file to my server using <input type = file...>, and everything works fine. There's just one little problem.
When the user fills out the form (name, phone number, etc), selects the file to upload and then selects the "Submit" button, the form will be re-displayed if an error occured (ex: user forgot to fill in a required field).
When that happens, the textfield associated with <input type = file...> is blank. How can I display the path and filename that the user selected?
Thanks,
Marie
I'm uploading a file to my server using <input type = file...>, and everything works fine. There's just one little problem.
When the user fills out the form (name, phone number, etc), selects the file to upload and then selects the "Submit" button, the form will be re-displayed if an error occured (ex: user forgot to fill in a required field).
When that happens, the textfield associated with <input type = file...> is blank. How can I display the path and filename that the user selected?
Thanks,
Marie