[thelist] Length of ASP request.form object

Webmaster webmaster at archetype-it.com
Fri Feb 22 09:50:11 CST 2002

At 10:42 22/02/2002 -0500, you wrote:
>This message is in MIME format. Since your mail reader does not understand
>this format, some or all of this message may not be legible.
>[ Picked text/plain from multipart/alternative ]
>The latter.  How many items are there in the actual Form collection.

This should do it:

dim itemcount, ff
itemcount = 0
for each ff in request.form
     itemcount = itemcount + 1
response.write itemcount

... then again there may be better ways.

Veronica Yuill
Moderator, I-Design http://www.adventive.com/lists/idesign/summary.html

More information about the thelist mailing list