Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Several submit buttons in the same form ?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 14-02-2009
Member
 
Join Date: May 2008
Posts: 2,443
Several submit buttons in the same form ?
  

Is there any way to have multiple submit buttons in a form that sends the form to different pages?

Or should I let everything go through a separate page that will send this further based on div parameter?

Reply With Quote
  #2  
Old 14-02-2009
Member
 
Join Date: May 2008
Posts: 685
Re: Several submit buttons in the same form ?

Yes, it is possible.

But it is impossible to help you further when you do not even say anything about asp version or anything.
Reply With Quote
  #3  
Old 14-02-2009
Member
 
Join Date: Feb 2008
Posts: 194
Re: Several submit buttons in the same form ?

Add a JavaScript onclick method on the appropriate buttons.

onclick = "this.form.action = minside.asp;"
Reply With Quote
  #4  
Old 14-02-2009
Member
 
Join Date: May 2008
Posts: 2,443
Re: Several submit buttons in the same form ?

What happens then if your browser does not have java enabled?
Reply With Quote
  #5  
Old 14-02-2009
Member
 
Join Date: Feb 2008
Posts: 194
Re: Several submit buttons in the same form ?

Javascript enabled? Ask me this is not a factor one needs to include a time when a programmer for the web. And if there are any specific users you think about that for some reason has turned off this you can add a "disclaimer" about this on your page. It is vetfall what I would do. In 2008 belongs JavaScript so closely with the web development that it is something one should be able to take that to be on.
Reply With Quote
  #6  
Old 14-02-2009
Member
 
Join Date: May 2008
Posts: 3,971
Re: Several submit buttons in the same form ?

Is it not better to have a form for each page you want to route the user to? I assume you do not need to send all the information on to each page.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Several submit buttons in the same form ?"
Thread Thread Starter Forum Replies Last Post
How to Submit a Form Using JavaScript? Damien25 Software Development 4 07-02-2010 06:05 AM
Problem of html form with multiple submit buttons ASHER Software Development 4 20-10-2009 05:31 PM
How to submit form without "Submit Button"? AK_Chopra Software Development 3 10-09-2009 08:44 AM
Frontpage form submit return 404 Not Found error dalsandhu Technology & Internet 3 06-07-2009 03:37 PM
Problem Submit Form in Firefox [javascript] Swetlano Software Development 0 09-02-2009 10:07 PM


All times are GMT +5.5. The time now is 07:16 PM.