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

Order of fields on Upload.Form

Status
Not open for further replies.

peterswan

Programmer
Sep 25, 2002
263
US
Hello,

I'm looping through all form fields on a page and getting them to display as hidden fields on the next page. Here's the code I'm using:

For each item in Upload.Form
Response.Write &quot;<input type=hidden name=&quot; & &quot;&quot;&quot;&quot; & Item.name & &quot;&quot;&quot;&quot; & &quot; value=&quot; & &quot;&quot;&quot;&quot; & item & &quot;&quot;&quot;&quot; & &quot;>&quot; & vbNewLine
Next

The reason why I'm using Upload.Form insead of Request.Form is because I'm using an upload component on the previous page. This works fine except it won't display the hidden fields in the same order as they were on the previous page. Is there any way to arrange them in their original order, even though I'm using Upload.Form?

Thanks for any help,

Peter Swanson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top