Filtering a form field with two other connected fields

It seems that you want to replicate the functionality of a Search view in a Form view.

Maybe you could do that with a Text Formula field?

And then there is this related use-case, but just for filtering with one connection imput, not more as you need.

Other than that I have no idea.