Click to See Complete Forum and Search --> : Send form data to another asp file without using forms hidden inputs?


trkk
05-12-2003, 05:27 AM
Hi

I have a frameset with 3 windows (top, center, below). When I write data in the top window, I push a button and that data is moved to the center window. Later I would like to save that moved data in to a file or to database. In that center window there is a lot of information and sending that all to another asp with forms hidden fields is not really an option.

in top window the form is made by:
<FORM name="form1" action = "h.asp" method = "POST">

in h.asp I want to read center windows data:
x = top.frames(1).form2.x(i).value

But all I get is an asp error Object required: top.

??? Why doesn't these top.frames call work?

Bullschmidt
05-12-2003, 03:44 PM
Send form data to another asp file without using forms hidden inputs?

Well I believe that options to send data from one page to another include:
o Using Session variables (server side)
o Posting with form fields
o Querystring with or without form fields
o Saving data in database and getting it out later (server side)

trkk
05-13-2003, 06:02 AM
This is so frustrating, I feel like I don't know how to explain what I want to do so someone would understand....

So if this top.frames... isn't suppose to work when asp has already been done, then why these lines work?

top.frames[1].form2.ta[m].value = form1.Ino.value
top.frames[1].form2.lk[m].value = form1.Ik.value

They are in h.asp, in a function that sends top windows data to the center window.

I don't get this... How stupid can I get... :confused: