I have three content types:

  1. Courses
  2. Sections
  3. Chapters

Sections content type have Entity reference of Courses.

Chapters content type have two entity reference fields as Courses and Sections.

If I select the courses corresponding section I have to list out Chapters content type. I need a hierarchical structure.

How can I do that?


You could try that module conditional_fields

That link also may help Update multiple fields with ajax callback in form

| improve this answer | |
  • Please can u explain how to use conditional_fields module – Nandhana May 28 '15 at 9:55
  • read its documentation – Mohammed Gomma May 28 '15 at 10:10
  • it's doesn't work for me. Any idea u have it? – Nandhana May 28 '15 at 13:51
  • try the second link updating form fields upon other fields selection you could use views to build the list of nodes that will be the field values taking previous field :nid as an argument – Mohammed Gomma May 28 '15 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.