Output text based on database value and read elsewhere in page

Ok. So I have a dynamic page which has a link to a form. The url of the form depends on the user’s country.

Something like this:

Name: Bob Jane / Country: Australia / form : https://aaaa (default)
Name: Jess Kim / Country: Korea / form: https://bbbb (Korea)
Name: JohnSato / country: Japan / form: https://cccc (Japan)

I have managed to create a group with a boolean value using :formatted as text which I can read as dynamic data into the link. However i need more than just two options.

I can create a text item with conditionals to output each corresponding url but I can’t read this as dynamic data inside my link parameters.

I’m sure it must be basic, is there a switch type stement I can do Any help would be appreciated.