This screenshot shows the Set Text dialog box in which the Text field is set to CountryName (the decode value of the custom attribute defined in the lookup definition.