0

I have two content types, Lesson Plan and Course. When creating a Lesson Plan, users select a Course (Entity Reference). Later, they choose course goals (Term Reference) that the Lesson Plan meets. I'd like to filter the list of course goals by the earlier selection, Course. Each Course has a number of course goals (Term Reference).

Is this possible? I've tried using Term / Entity Reference Views, but can't figure out how to pass the selected Course as an argument and have the term list update (AJAX).

0

It is possible and can be implemented using Simple Hierarchical Select. From the modules page-

Simple hierarchical select defines a new form widget for taxonomy fields to select a term by "browsing" through the vocabularies hierarchy.

Expose the view filters (course and course goals) in your case after you set the field type to simple hierarchical select. This guide might be helpful.

| improve this answer | |

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.