Return value navigation on différente view


I have a form view with a input text. When I click on this input, a other view open it.
In this view, there are a input search and a list . The list change when I change a text from the input seach.
I want when I click in the item of my list, this view close and the input text change. But I don’t know how I do.

Can you help me please?