Solved

How to loop through form variables (Points for sicknote)

Posted on 2003-10-30
2
253 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Choose the older file FSO 6 51
Pass through dll 2 92
Javascript to allow login/password authorization 4 53
JQuery Autocomplete Tag AJAX (Need nice script) 11 37
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 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