Results 1 to 6 of 6

Thread: HTML input type=file, pre-insert data.

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2004
    Location
    Earth 4 now.
    Posts
    27

    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:&nbsp;<%=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:&nbsp;</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.
    Last edited by ShotokanTuning; Jul 15th, 2004 at 05:59 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width