Using drupal 7 how can I make a selection alter where a page is then redirected to ? I need the value selected by a drop down menu to be part of the destination url for the redirect. For instance if I had the following for a drop down menu:
$form['changethis'] = array( '#type' => 'select', '#options' => array( 'one' => 'one', 'two' => 'two', 'three' => 'three', ),
Selecting option 'two'would send the page to www.mypage.com/two
Any help would be great I have experimented with an ajax request and hook_menu_alter , but no luck so far.