Hello everybody,
I am using "conditional_fields" module on a drupal 7 project and some of my fields do not show when viewing the content.

Here is the basic structure of my content type

** category (Select list)
*** sub-category1 (Select list)
***** item1
***** item2

*** sub-category1 (Select list)
***** item1
***** item2

*** sub-category1 (Select list)
***** item1
***** item2

*** sub-category4 (Select list)
***** item1
***** item2

** field1 (text field)
** field2 (int field)
** field3 (float field)

The goal : I want "field2" to be shown only if "category" has a value and the value must be "sub-category1" or "sub-category2".

How do I do this :
- "field2" is visible when "Category" has one of the values "sub-category1ID", "sub-category2ID", "sub-category3ID", "sub-category4ID". Interaction with other dependencies : "AND".

- "field2" is visible when "sub-category1" has values "item1ID", "item2ID". Interaction with other dependencies : "OR".
- "Name" is visible when "sub-category2" has values "item1ID", "item2ID". Interaction with other dependencies : "OR".

This works well when editing. The field "field2" is shown according to the restriction that I've made. But that "fields" that is involved in two dependencies : with "subcategory1" and "subcategory2" does not show.

Anybody have a clue ?

Thank You for Reading and Answering....

Comments

mosgeorges created an issue. See original summary.

mosgeorges’s picture

Title: I field involved in two dependencies do not show when viewing content.... » A field involved in two dependencies do not show when viewing content....
mosgeorges’s picture

Title: A field involved in two dependencies do not show when viewing content.... » A field that is involved in two dependencies does not show when viewing content....