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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to review form entry when using <input type="file">

Status
Not open for further replies.

mopacfan

Programmer
Oct 30, 2000
190
US
I am using the Dundas upload component on my web server. On my website ( I have a section I am adding called Volunteer Vehicles. This will be an area where others can upload a photo of thier vehicles and enter a text description to go along with it.

The filename field is an input type of "file". This will not allow me to set a default value therefore the review page (review_ad.asp) will not allow me to use request.form("filename") and put that value in the field for final submission. Example below:

<input type=&quot;file&quot; name=&quot;filename&quot; value=&quot;<%=filename%>&quot;>

I thought about sending the value as a hidden field, but I don't know how to hide a &quot;file&quot; field.

I want the user to be able to see review thier entry befor final submission. As it is, they can see all fields but have to re-choose the file to upload and this defeats the purpose of the review page. Any suggestions or help will be greatly appreciated.

Regards,

Michael Netherton
Code3 Responder
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top