|
-
Apr 14th, 2001, 12:12 PM
#1
Thread Starter
Fanatic Member
I have a form on one page that may have an undetermined amount of elements on it.
on the next page( the one that will write to the database) I need to use request.form to get the values out of my form from page 1.
the elements are named like this
<input name="text1">
<input name="text2">
<input name="text3">
ect......
how do i use an array on page 2 to get the values from this form?
this is my crappy attempt at the syntax.
dim i
dim text(i)
i = 1
for each text in request.form
text(i) = request.form
i = i + 1
next
I know this is wrong but do you get the idea??
I could just 'hard code' this thing but that would be a waist of code. plus i never know if the form will have 2 or 3 or 10 text box's.....
any suggestion???
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|