#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    NIG
    Posts
    4
    Rep Power
    0

    Having 2 Buttons in 1 Form Tag


    Hi All,

    pls is it possible to have two submit button pointing to two different .asp (action=---.asp) within one form tag element?

    Abd
  2. #2
  3. No Profile Picture
    Overly white
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Fresno, CA
    Posts
    83
    Rep Power
    12

    Well sorta


    You can't define two pages for a form to redirect to. What I would do with this is have each button set a hidden field value to something. Say button 1 sets it to 1 and button two sets the value=2. Then have the action.asp page redirect to the proper page.

IMN logo majestic logo threadwatch logo seochat tools logo