I would like to have a form that can submit to two different action pages based on a select box.
Meaning if I select in the select box Products
, the action would be products.html
, and if I select Users
, the action would be users.html
I have found many examples that have two submit buttons, but I need only one submit button.
Any ideas on how to do it?
See Question&Answers more detail:os