Click to See Complete Forum and Search --> : loop


tiger66
06-14-2003, 12:31 PM
Hello
I am trying to write a loop that can loop through a section in my page.

e.g.

field 1
field 2
field 3
field 4
....
field 10
field 11
field 12
How can I write a loop that loop through field4 to field 10
I am thinking about using for loop starting from form.name==field4 and end when form.name==field10, but I am not sure how to increment the loop.

Any help

Thanks

tiger66
06-14-2003, 01:06 PM
Hi Dave
if my field names are not in numerical order. Is it still possible to write the loop base on the field name?

eg.
field4 is first name
field5 is last name
field6 is address

etc...

Thanks