Is there any way to show and hide one field based on the behavior of another?

Hello, I have some fields that should be displayed according to the behavior of another. See this simplified example:
[x] Is a location?
[ ] is it in our country?
[ ] is it near new york?

If the user deselects the first toggle the other two must be hidden.
[ ] Is a location?

Is there any way to do this?

Simple answer: No…but there is already a feature request for that. If you have a concrete example how you would like to define these dependencies it would be very welcome.

Thanks @Sebastian
Talking about the concrete example to define these dependencies. Each field could have a filter more or less as in the custom query.


If a field depends on several, just use the AND / OR operators.