Retrieve form fields for debugging
Q
How can i view the contents of a submitted form?
A
Create an ASP page with the following code, and set your form's ACTION
attribute to point to this page.
<% Option Explicit %>
<html>
<!-- head tag -->
<body>
<%
dim fld
response.write "Result from: " & request.serverVariables("HTTP_REFERER")
response.write "<table>"
response.write "<tr><td>Field</td><td>Value</td></tr>"
for each fld in request.form
response.write "<tr><td>" & fld & "</td><td>" & request.form(fld) & "</td></tr>"
next 'fld
response.write "</table>"
%>
</body>
</html>
source: ASPToday