VB Script Problem
by "Ted" <Ted.Lontine(at)mt3solutions.com>
|
Date: |
Thu, 15 Nov 2001 10:57:33 -0700 |
To: |
"hwg-languages" <hwg-languages(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
Hello all:
I am trying to set up a registration form which can register multiple names, addresses,
etc. I want to send this form to be processed and values for the input to be assigned. I
am
trying to grab these form values through the request.form collection property, but I can't
seem to make this function dynamic so I can read various form values. For example:
MY FORM 1 (input form)
.....
<form action="form2.asp" method="post">
<.input type=text name="name1" size=20>
....
<.input type=text name="name2" size=20>
....
<.input type=text name="name3" size=20>
....
etc.
<./form>
MY FORM 2
.....
.....
dim name()
redim name(5)
FOR i =1 to 5
name(i) = Request.form(name(i))
NEXT
This is where my problem lies. I cannot seem to dynamically change the request.form
property. Am I doing something wrong in syntax? Or is this not possible?
TIA
Ted L.
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA