How can you make a form with only one drop menu go to different php pages based on what is selected from the list? I know how to pass the selected value, but I can only set one action attribute per form. I've seen how to do this for multiple submit buttons, or mutiple check boxes, but I can't find how to do it based on the selection. (I don't want multiple selections).
All I want is 5 options to go to one php page, and 4 to go to the other.
Putting action="page.php" in the form tag obviously goes to the same place for all options. Can I insert some code into the option tags, or should page.php act as another redirect based on the submitted value, or is this a job for if else in javascript?
Any help appreciated!
Damien