Re: is there a way to capture all form fields using loops?

Re: is there a way to capture all form fields using loops?

am 07.12.2006 17:43:27 von Mike Brind

"User" wrote in message
news:1165507579_7059@sp6iad.superfeed.net...
> Hi,
>
> I have a massive webform...
>
> is there a way to use a loop to get all the field names of the form?
>
> eg: in php, u can do a
> foreach($_POST as $key=>$value)
> {
> blah blah....
> }
>
> how do u emulate that in classic asp 3.0?
>

For Each x in Request.Form
blah blah
Next

If you want to write it to the browser, change blah blah to

Response.Write x & ": " & Request.Form(x) & "
"

--
Mike Brind

Re: is there a way to capture all form fields using loops?

am 07.12.2006 17:52:37 von exjxw.hannivoort

User wrote on 08 dec 2006 in microsoft.public.inetserver.asp.general:

> is there a way to use a loop to get all the field names of the form?


collection.html>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

is there a way to capture all form fields using loops?

am 08.12.2006 01:05:08 von User

Hi,

I have a massive webform...

is there a way to use a loop to get all the field names of the form?

eg: in php, u can do a
foreach($_POST as $key=>$value)
{
blah blah....
}

how do u emulate that in classic asp 3.0?

please avise. Thanks



Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com