Drupal 7's States API: Why won't this code work? Scratching my head on this.  Trying to get a few fields in a node edit form to be visible only when a select element's value is 'sponsor':

function iv_persona_helper_form_persona_node_form_alter(&amp;$form, $form_state) {
  $lang = $form['field_persona_type']['#language'];

  $sponsored_control_states = array(
    'visible' =&gt; array(
      ':input[name="field_persona_type['. $lang .']"]' =&gt; array('value', 'sponsor'),
    ),
  );

  $form['field_sponsored_url']['#states'] = $sponsored_control_states;
  $form['field_sponsored_text']['#states'] = $sponsored_control_states;
  $form['field_sponsored_description']['#states'] = $sponsored_control_states;

  $form['#validate'][] = 'iv_persona_helper_form_persona_node_form_validate';
}


I know the form_alter is being invoked, but those fields visibility is not at all changed.
Try 'value' =&gt; 'sponsor' instead of 'value', 'sponsor'.