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

Get submitted form field names and values

Status
Not open for further replies.

CzechNET

Programmer
Nov 2, 2004
28
0
0
CA
Just wandering if it's possible to get the form field names dynamically, just as you'd get the form fields values ....

Code:
		 for each obj in request.form
		      response.write request(obj) & "<br>"
		 next

Above code will produce values, but not the form names, any idea how to get them (ideally in the same loop) ? Thanks.

 
obj would be the field name :)
Code:
For Each obj in Request.Form
   Response.Write obj & = & Request.Form(obj)
Next

:)

barcode_1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top