Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 forms in a single page

 
k bben
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can i have more than one form in a page?
if yes, how do i submit all of them at one shot

function f1(){

document.form1.submit();
document.form2.submit();
}

it is a html page with javascript on it .
the page is created by a servlet
[ December 29, 2004: Message edited by: k bben ]
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you're talking about JSPs?

yes, you can have more than one form on a page.
no, you cannot submit them all at once.
 
Martin Lerchster
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All information you need for one submit you should have in one form!


Why do you need the second one and why do you want to submit both?

wr
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic