I have an ASP page that is a simple form, but with many fields. Upon submitting the form I want to create a page that itterates through the form variables and prints them out. It must show all the fields, regardless of whether they where filled in and it needs to show them in the order they appear.
My attempt looked like this:
<%For Each key in Request.Form%> <tr> <td><%= key %></td> <td><%= Request.Form(key) %></td> </tr> <% next %>
However that spits them out in a random order and only shows fields that have a value. Is there a collection other than Request.Form or a different approach that would give me my desired result?