Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

input type="file"

Status
Not open for further replies.

pixiesfb

Programmer
Apr 27, 2001
62
US
I am successfully submitting this field:

<input type=&quot;file&quot; name=&quot;deafile&quot;>

However, this input type does not take a value=&quot;#whatever#&quot; attribute. When a user wants to update this field on a form, nothing shows up in this field, it's empty even though there is a value for this field in the database.

What's the best way to deal with this?
 
Make sure you have the correct header in your form field.


Ex:
<form name=test&quot; action=&quot;upload.cfm&quot; enctype=&quot;multipart/form-data&quot; method=&quot;post&quot;>
<input type=&quot;file&quot; name=&quot;deafile&quot;>

</form>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top