Different form ACTION depending on button pressed

Posted by posfan12 on Stack Overflow See other posts from Stack Overflow or by posfan12
Published on 2010-05-02T11:31:12Z Indexed on 2010/05/02 11:37 UTC
Read the original article Hit count: 366

Filed under:
|
|

I have a form and I would like the ACTION field to be different depending on the button pressed.

For instance the form might get processed by different PHP files if I press button A or button B.

How can I do this?

Thanks!

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript