I am trying to make field_format visible after two select list fields have a specific values selected. I thought be not using 'or' 'xor' that both are required but its not working. this is doing the same thing as using 'or',
function mymodule_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'page_node_form') {
$form['field_format']['#states'] = array(
'visible' => array(
array(':input[name="field_item_type[und]"]' => array('value' => 'tv_show')),
array(':input[name="field_extra[und]"]' => array('value' => 'bike')),
),
);
}
}