Forums › Forums › Search & Filter Pro › Set conditions in Filters
Tagged: V3
- This topic has 4 replies, 2 voices, and was last updated 4 years, 7 months ago by
Trevor.
-
Anonymous(Private) August 11, 2020 at 11:10 am #255633
Hi Trevor,
We need add a filter like state, region and county.
1. By default county and regions should be hidden.
2. When a state is selected, that state’s corresponding region field is shown.
3. When a region is selected, that region’s corresponding county field is shown.
4. Also, if for instance, the region selection changes, the county value selected needs to be reset so that it is no longer filtering for a county in a field that is no longer visibleHow to set the above conditions in the search and filter back-end and also i have created a field using acf which is not showing in the meta_key field.
Thanks
Trevor(Private) August 11, 2020 at 11:35 am #255640This type of dependency is not a feature of our plugin. We are looking at doing something like this for V3, but that is not due for a few months yet (and the feature set is not yet fixed).
For the time being, it can only be done using your own crafted custom javascript, or you would use the Auto Count system (both Auto Count settings ON, and Hide Empty set in the fields) that we do offer to remove or add options in the fields as users make choices.
A new custom field will only appear in the list of key names when you have used that field and stored data terms within posts.
-
AuthorPosts