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 Chriss Miller 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
Joined
Nov 2, 2004
Messages
28
Location
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