Patch to use taxonomy field as conditional field!

Conditional fields module only allows setting cck fields as conditional fields. If you modify some in conditional fields module you can set also taxonomy field as conditional field. In this function:

function conditional_fields_content_admin_field(&$form)

row 358

comment this

if (!$allowed_values[$field['field_name']] = content_allowed_values($field)) {

and add this:

if (!$allowed_values[$field['field_name']] = conditional_field_allowed_values($field)) {

in this function:

row 404

comment this

if ($allowed_values[$field['field_name']] = content_allowed_values($field)) {

and add this:

if ($allowed_values[$field['field_name']] = conditional_field_allowed_values($field)) {

his function at the end (row 1166):

function conditional_field_allowed_values($field)

should be like this:

{

  if($field['type'] == 'content_taxonomy') {

    $field_allowed_values = content_taxonomy_allowed_values($field);

    unset($field_allowed_values['']);

  }

  else {

   $field_allowed_values = content_allowed_values($field);

  }

  return $field_allowed_values;

}

function conditional_fields_fieldgroup_group_edit_form(&$form)