View Single Post
Old Feb 2nd, 2006, 10:28 AM   #1
rag05
Newbie
 
rag05's Avatar
 
Join Date: Oct 2005
Location: Texas
Posts: 11
Rep Power: 0 rag05 is on a distinguished road
Help on Form Submit

Hello all,

I'm trying to submit the values in a form and put them into a string using the following code:

for each objField in Request.Form
    str = str & objField & ": " & Request.Form(objField) & "<br>"
next

This is the problem: let's say that my form has the following fields (in that order):

First Name
Middle Initial
Last Name

When I print out the contents of the string, the order is not the same... it might be:

Middle Initial
Last Name
First Name

So that's my question: is there any way (using the same piece of code, or similar) that I can save the form values into a string in the same order they appear on the form?

I appreciate your help. Thanx
__________________
There are only two kinds of programming languages:
those people always bitch about and those nobody uses.

-- Bjarne Stroustrup
rag05 is offline   Reply With Quote