Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1 form on 2 different frames. Possible?

Status
Not open for further replies.

Albuckj2

Programmer
Jan 7, 2003
68
GB
I have a web page that has 2 frames, left and right. Form elements are in both frames, but are in 2 different forms, because I don’t know of a way to have the same form spread across 2 different forms.

The problem is that the submit button is in the right frame, but I need to pass form values from both the left and right frame. I can’t have a submit button in the left frame, only the right frame. But how do I post those form element values that are in the left frame?

I’d be greatly appreciated if someone has a solution to this.
 
I don't see how it would be possible. 2 frames are 2 different documents.
Unless someone knows some way that it would be possible to submit one form which would trigger the form on the other document to trigger???


É
::
 
I suppose you could build up the URL string yourself and instead of a submit button you just have the link with your self made URL. But this is very ungraceful....

Anyone else have an idea?
 
If you could have a "save" button in the left hand frame it would be possible since you could write the variables to the frameset page and retrieve them in the next page and put them in hidden fields which would then be submitted with the non-hidden ones. However it is not clear to me why you are splitting up the form in the first place. Clive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top