how to populate drop down list based on multiple text box entries

hi, i'm having problem on how to auto-populate the drop down list (Wall Assignment) based on the Text box fields (Name). I am using Adobe Acrobat Pro Dc.
The table with Name column is from page 2, while the Wall Assignment drop down, is on page 3.
Whenever the user enters a Name, it will auto-populate the Wall Assignment list.
i saw some post that uses addItems and setItems, but still don't know what to use and where to insert the code. is it on the textbox using keystroke or action javascript, or on the drop down field.
thanks
