# Displaying long form after selecting short forms from dropdown list such as country

**URL:** <https://forums.pega.com/t/displaying-long-form-after-selecting-short-forms-from-dropdown-list-such-as-country/4608>\
**Category:** User Experience\
**Tags:** user-experience, pega-platform\
**Created:** [June 8, 2023, 11:15am UTC](https://forums.pega.com/t/displaying-long-form-after-selecting-short-forms-from-dropdown-list-such-as-country/4608 "2023-06-08T11:15:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PriyankaB1930](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@PriyankaB1930](https://forums.pega.com/u/PriyankaB1930)\
**Post date:** [June 8, 2023, 11:15am UTC](https://forums.pega.com/t/displaying-long-form-after-selecting-short-forms-from-dropdown-list-such-as-country/4608/1 "2023-06-08T11:15:49Z")

</div>

My requirement is, If I select IND, US etc country short forms from drop down, it should display full form like India, United States of America as a detailed name/Full country name near drop down.

---

<div class="post-metadata">

**Author:** ![SaurabhG7134](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/saurabhg7134/32/17184_2.png) [@SaurabhG7134](https://forums.pega.com/u/SaurabhG7134)\
**Post date:** [June 8, 2023, 2:34pm UTC](https://forums.pega.com/t/displaying-long-form-after-selecting-short-forms-from-dropdown-list-such-as-country/4608/2 "2023-06-08T14:34:21Z")

</div>

Hi @PriyankaB1930, create a datatype in Pega which will store both the code and the full name. Now, create a datapage sourced by report which takes in code as a param (say IND) and provides the name as a result(say INDIA).

You are already displaying the list of country codes on UI mapped to a property, so pass this selected value as the param to the datapage you created and you’ll get the value, which you can then display on the UI.

---

<div class="post-metadata">

**Author:** ![ArulDevan](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/aruldevan/32/23602_2.png) [@ArulDevan](https://forums.pega.com/u/ArulDevan)\
**Post date:** [June 9, 2023, 8:12am UTC](https://forums.pega.com/t/displaying-long-form-after-selecting-short-forms-from-dropdown-list-such-as-country/4608/3 "2023-06-09T08:12:23Z")

</div>

Hi @PriyankaB1930: Please also check if auto complete helps to solve your problem.

Thanks.
