I have three content types: Courses, Sections, and Chapters. Sections has an entity reference field for Courses; Chapters has two entity reference fields, one for Courses and one for Sections.
If I select the Courses corresponding section, I have to list out the Chapters. I need a hierarchical structure.
How can I achieve this?