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 "<input type=hidden name=" & """" & Item.name & """" & " value=" & """" & item & """" & ">" & 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
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 "<input type=hidden name=" & """" & Item.name & """" & " value=" & """" & item & """" & ">" & 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