Solved

How to loop through form variables (Points for sicknote)

Posted on 2003-10-30
2
249 Views
Last Modified: 2011-10-03
How can I loop through all the elements of a form in ASP in the form handler page?
 (This question has already been answered but I owe the points for it).

Sicky, please post your answer again for the benefit of anyone else who would like to know.
0
Comment
Question by:Flynnious
2 Comments
 
LVL 3

Accepted Solution

by:
sicknote earned 20 total points
ID: 9650130
Try this:

dim oFormItem

For each oFormItem in Request.Form
    Response.Write(oFormItem & "(" & Request.Form(oFormItem) & ")<BR>")
Next
0
 
LVL 3

Author Comment

by:Flynnious
ID: 9650157
Ta
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now