Re: is there a way to capture all form fields using loops?
am 07.12.2006 17:43:27 von Mike Brind"User"
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