Getting a value from an array based on an input field

After getting some assistance from support here is the solution:

I needed to put the item pattern and output in manually. shown in the image attached: