This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple Submit buttons in a single form

 
John Lincoln
Ranch Hand
Posts: 192
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using 2 submit buttons in a single form. It is like back and next button. Back takes you to previous page, next takes you to next page from the current page.

It is OK to have 2 submit buttons right ? Just double checking. Please let me know...

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure. Clicking either one will submit the containing form. Give them a value if you want to differentiate between the two on the server.

Be aware that there are also non-submit button types that can be used when form submission semantics are not required.

Is this not the type of thing that you could check for yourself in about three minutes by writing a simple test page?
[ May 20, 2007: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic