I have a content type with two taxonomy term fields: Region and Country.
I created some nodes and entered values for those fields. I created a view with both the fields as exposed filters. When a region is selected, is there a way to only to shown in Country all the related terms as shown in the screenshot?
The project page for the Views Reference Filter module says, at the bottom:
By default, the view receives the same arguments as the view being filtered. This can be changed in the filter settings.
Possible value for any argument:
- the argument of the view being filtered
- any string value
- the value of any exposed filter of the view being filtered
The last option makes the exposed filter dependent on the other filter. This creates the functionality missing in the Views: dynamic dependent filters, i.e. when the value of the main filter is changed, the list of options of the dependent filter is updated via AJAX.
I couldn't make it work. It looks like it works only with entity reference fields.
Views AJAX Dynamic Dependent Exposed Filters looks promising, but it's using a lot of custom code that might be outdated.
Before I start to write custom code, may you suggest me any clean out-of-box idea?