Dropdown options changing

Hello! I hope you are doing well today!

I am trying to do a dropdown, and based on that selection, the dropdown needs to return a certain number. Now, here is the issue: I am exporting this number to different places after it is filled in, so I need the Title/Name of the text form with the number in it to stay the same, as well as I need it to be returned in a text box. If this is confusing, I am more than happy to expand.

I really need the final text to pull through under the text box name Business_Portfolio_ID, but depending on the selection, it needs to be a different number. As you can see, it is only pulling through the first selection (understandably) since they are all named the exact same thing.
I would love some tips or workarounds! I have tried quite a few different ways and I just can't seem to figure this one out.
I feel the following example shows roughly what I am trying to accomplish without going too in depth.

Thank you for your time!

{formmenu: default=Agency; Agency 2; Agency 3; name=Business_Portfolio}

{if: Business_portfolio="Agency"}{formtext: default=1234567; name=Business_Portfolio_ID}{elseif: Business_portfolio="Agency 2"}{formtext: default=5678910; name=Business_Portfolio_ID}{else}{formtext: default=0246810; name=Business_Portfolio_ID}{endif}

Would this work for you:

{formmenu: default=Agency; Agency 2; name=Business_Portfolio}

{if: Business_portfolio="Agency"}{Business_Portfolio_ID=123456}{elseif: Business_portfolio="Agency 2"}{Business_Portfolio_ID=56789}{endif}
{=Business_Portfolio_ID}

This worked perfectly. Thank you so much!