pre-insert data into input type=file
When updating some information, I want to show the old data(from the database) in the input type=file and make it possible for the user to change it than save it (database). I can do all that except the part of putting the old data(from the database) into the input type=file.
I want to put an initial file name, into an input type=file.
I'm using this as a substitute..
<TR><TD>Extra Document: <%=rsAccount("ExtraDocument")%></TD></TR><TR><TD><INPUT TYPE=FILE NAME=extradocument SIZE=43 ></TD></TR>
(show the initial filename before the input type=file, so the user can copy it.)
This would be the solution if it worked (But it doesn't seem to work with this type):
<TR><TD>Extra Document: </TD></TR><TR><TD><INPUT TYPE=FILE NAME=extradocument value=<%=rsAccount("ExtraDocument")%> SIZE=43 ></TD></TR>
"INPUT TYPE=FILE -> Creates a file select control. User agents may use the value of the value attribute as the initial file name."
Also, I'm using Internet Explorer.
Is there an other way I can use?