Two Submit Buttons

Results 1 to 2 of 2

Thread: Two Submit Buttons

  1. #1
    Join Date
    Dec 1969

    Default Two Submit Buttons

    I have two submit buttons in a form. I want to perform two different actions when they are clicked. i.e. execute code in two different ASP pages. How to accomplish this? Please suggest

  2. #2
    Join Date
    Dec 1969

    Default RE: Two Submit Buttons

    The way I do it, don&#039t know if it&#039s the best way, is to give both buttons the same name. At the top of the asp script defined in the form statement test the value of the button. If it is "value 1" continue processing and if it is "value 2" redirect to asp page you want.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts