Currently, Form Components are designed to be used independently - they cannot pass state to each other. If you need to have the value of one form input impact what is displayed in another, I'd recommend combining those fields into a single Form Component and serializing the state into a string
value. The example in the docs of a color selector Form Component is a good example of this approach.
That said, for the next Xperience refresh we will be getting a feature that allows Form Components to pass state to each other for conditional visibility and other logic.