HTML input type=file, pre-insert data.
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)
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>
When updating some information, I want to show the old date in the input type=file and make it possible for the user to change it than save it. I can do all that except the part of putting the old date into the input type=file.
"INPUT TYPE=FILE -> Creates a file select control. User agents may use the value of the value attribute as the initial file name."
I'm using Internet Explorer... shouldn't the value thing work? Hmm...
Please help me out, I'm lost.