Submit to 2 different pages

Results 1 to 2 of 2

Thread: Submit to 2 different pages

  1. #1
    Renidea Guest

    Default Submit to 2 different pages

    I have a display page that has two buttons at the bottom: "New Search" and "Edit This". I want to submit info to 2 different forms, one for each button, how can I go about doing so on the same page?

  2. #2
    Join Date
    Dec 1969

    Default RE: Submit to 2 different pages

    Name the buttons have them activate a script to check which button was pressed then send a url to the forms action to go to which ever page they want.<BR>&#060;%<BR>if but1 = pressed then<BR><BR>varUrl = myPage.asp<BR>else<BR>varUrl = hisPage.asp<BR><BR>frm.submit()<BR><BR>end if<BR>%&#062;<BR><BR><BR>&#060;form action="varUrl" name="frm"&#062;<BR><BR>Or something similar

Posting Permissions

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