I have a Vocabulary called Program which has terms nested as follows:
- Parent 1
- Child 1
- Child 2
- Parent 2
- Child 3
- Child 4
I would like to create two Entity Reference fields using this Vocabulary. One that displays a select list of parent terms. Then, depending on the parent term that is selected, I would like to populate the second field with it's respective child terms.
In the field settings I am using Views as the Entity Selection mode on both fields. I have a view with two Entity Reference displays, one for the parent and one for the child. The child display has a contextual filter of Parent Taxonomy Term. However, I'm not sure how to pass the argument using AJAX after the Parent term is selected.