forms api

By Phil Frilling, 6 March, 2012
Today I needed to create an ajax powered form using Drupal 7, the caveat being that I needed one user action to perform multiple ajax actions to different sections of the form. To begin, my form element with the ajax looks like this:

  $form['company']['company_branches'] = array(
    '#type' => 'select',
    '#title' => t(