PDA

View Full Version : how to loop request.form??


NinjaTurtle
08-23-2002, 10:08 AM
dear,

i have many textboxes with a standard named with a continuos number e.g. ID1,ID2,ID3,....

request.form("ID1")
alert("1")
request.form("ID2")
alert("2")
.
.
.


how to put them into Loop???

allida77
08-23-2002, 02:18 PM
Do you need all the fields on the form?
If so:

For Each frmfield In Request.Form
Response.Write("field=" & frmfield & "<br>")
Next

NinjaTurtle
08-24-2002, 03:30 AM
i found the solution alreeady

Request.from("ID"&i)