# Regarding Component "List" & "Button" & "Dropdown" scripting

**URL:** <https://forum.inductiveautomation.com/t/regarding-component-list-button-dropdown-scripting/10606>\
**Category:** Ignition\
**Created:** [October 12, 2015, 9:04am UTC](https://forum.inductiveautomation.com/t/regarding-component-list-button-dropdown-scripting/10606 "2015-10-12T09:04:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BHASKAR](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@BHASKAR](https://forum.inductiveautomation.com/u/BHASKAR)\
**Post date:** [October 12, 2015, 9:04am UTC](https://forum.inductiveautomation.com/t/regarding-component-list-button-dropdown-scripting/10606/1 "2015-10-12T09:04:26Z")

</div>

Hi,

I have 3 “dropdown”+ 1 “button” & 1"list" component in a popup window. All the 3 dropdown are filled with some data rows. Whenever I select the data from the dropdown and press button; the selected data should add to the list in the same window. How to write script for this??? or any other method???

pls

BK

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [October 12, 2015, 9:40am UTC](https://forum.inductiveautomation.com/t/regarding-component-list-button-dropdown-scripting/10606/2 "2015-10-12T09:40:20Z")

</div>

What are you wanting to add to the list? Just the data from the most recently updated dropdown or combined data from all 3 dropdowns?
