Results 1 to 6 of 6

Thread: Several submit buttons in the same form ?

  1. #1
    Join Date
    May 2008
    Posts
    2,442

    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?

  2. #2
    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.

  3. #3
    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;"

  4. #4
    Join Date
    May 2008
    Posts
    2,442

    Re: Several submit buttons in the same form ?

    What happens then if your browser does not have java enabled?

  5. #5
    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.

  6. #6
    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.

Similar Threads

  1. How to Submit a Form Using JavaScript?
    By Damien25 in forum Software Development
    Replies: 4
    Last Post: 07-02-2010, 07:05 AM
  2. Problem of html form with multiple submit buttons
    By ASHER in forum Software Development
    Replies: 4
    Last Post: 20-10-2009, 05:31 PM
  3. How to submit form without "Submit Button"?
    By AK_Chopra in forum Software Development
    Replies: 3
    Last Post: 10-09-2009, 08:44 AM
  4. Frontpage form submit return 404 Not Found error
    By dalsandhu in forum Technology & Internet
    Replies: 3
    Last Post: 06-07-2009, 03:37 PM
  5. Problem Submit Form in Firefox [javascript]
    By Swetlano in forum Software Development
    Replies: 0
    Last Post: 09-02-2009, 11:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,687,223.78991 seconds with 17 queries