Groups | Blog | Home
all groups > inetserver asp general > july 2004 >

inetserver asp general : getting values from more than 1 form


spiderman
7/30/2004 12:00:57 PM
Hi,

How can I getting parameter values from more than 1 HTML form onto the
same ASP page? Thank you

Ray at <%=sLocation%> [MVP]
7/30/2004 12:44:38 PM
You cannot. If a page has multiple forms on it, only the form that is
submitted has its data passed to the server. That's not to say that you
couldn't use client-side scripting to transfer data from one form to another
form's hidden inputs or something like that.

But why not just have one form?

Ray at work

[quoted text, click to view]

spiderman
7/30/2004 1:18:46 PM
Thank you for your help. I like to have everything on 1 HTML page but there
are alot of fields, so I split the fields onto more than 1 HTML page (I
might just use only 1 HTML form and use the html tag# if I have to). Can
one submit each HTML page to the same ASP file? I am using this ASP file to
write all those parameter values to a text file. I am thinking to use the
session object to keep track of the parameters from the separate HTML pages.
Is this possible and/or there is a better way? Thank you


"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:#trEyRldEHA.2908@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button