Recently I needed to modify a Drupal 7 node form to have two drop down select elements populate based upon a third select element's choice. I have altered select elements in the past to have a single dependency, but never have I made one element control the content of two different elements.
Today I needed to redirect a node form submission to a separate URL. First, I tried the standard form api #redirect option in the form array like this: