# Bind DropDown Value to Tag

**URL:** <https://forum.inductiveautomation.com/t/bind-dropdown-value-to-tag/6264>\
**Category:** Ignition\
**Created:** [April 18, 2013, 5:50pm UTC](https://forum.inductiveautomation.com/t/bind-dropdown-value-to-tag/6264 "2013-04-18T17:50:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [April 18, 2013, 5:50pm UTC](https://forum.inductiveautomation.com/t/bind-dropdown-value-to-tag/6264/1 "2013-04-18T17:50:25Z")

</div>

An easy one for most of you but for the life of me I cant figure it out.

I want to bind the selected value (1-4) of a drop down list to a Int OPC tag to send it to the PLC

I’m stumped on how to do it ?

Craig

---

<div class="post-metadata">

**Author:** ![CPowell](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@CPowell](https://forum.inductiveautomation.com/u/CPowell)\
**Post date:** [April 18, 2013, 7:00pm UTC](https://forum.inductiveautomation.com/t/bind-dropdown-value-to-tag/6264/2 "2013-04-18T19:00:57Z")

</div>

Create the drop down menu.  
Make selection mode strict.  
Add your 1 - 4 to the data dataset.

Make an event handler on propertyChange on the Dropdown  
Select the Set Tag Value tab.  
Choose the tag you want and the value select the .selectedValue of the dropdown menu.

Then anytime someone selects a different number, it will update the tag.

Cheers,  
Chris
