Enter Input then connect collection

Hello, i want to do password screen,

  1. I will type password to “input”

  2. Click Enter

  3. All blank titles fill with my collection words.

For example i will type “hello” to input box All of labels filled with first line of collection. When i type “super” to input box, all of blank labels which is in page, they will fill with second line of my collection.

How can i do this with velo? I have to do this in one page.

I need to use like this code but i dont know well velo’s coding language:

 if input.text ="hello" then
label1text =collection1.title
label2.text = collection1.IDno
else if 
input.text ="super" then
label1.text = collection2.title
label2.text = collection2.IDno
end if