# Bing value in dropdown list and tag

**URL:** <https://forum.inductiveautomation.com/t/bing-value-in-dropdown-list-and-tag/95467>\
**Category:** Ignition\
**Created:** [September 3, 2024, 9:00am UTC](https://forum.inductiveautomation.com/t/bing-value-in-dropdown-list-and-tag/95467 "2024-09-03T09:00:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gennadiy\_Patokin](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@Gennadiy\_Patokin](https://forum.inductiveautomation.com/u/Gennadiy_Patokin)\
**Post date:** [September 3, 2024, 9:00am UTC](https://forum.inductiveautomation.com/t/bing-value-in-dropdown-list-and-tag/95467/1 "2024-09-03T09:00:21Z")

</div>

Dear, apologies for the basic question, I'm still learning

I have a dropdown list with following dataset

Value Label

0 Select Route

112 Route\_1

122 Route\_2

111 Route\_3

e.t.c

And also I have a OPC DA server with opc\_to\_plc boolean tag, for example: tag\_route\_1, tag\_route\_2, tag\_route\_3

How to bind Value and tag OPC DA, for example if select Route\_1 then tag\_route\_1 = 1, else 0

---

<div class="post-metadata">

**Author:** ![Sam\_Bermejo](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Sam\_Bermejo](https://forum.inductiveautomation.com/u/Sam_Bermejo)\
**Post date:** [September 3, 2024, 10:27am UTC](https://forum.inductiveautomation.com/t/bing-value-in-dropdown-list-and-tag/95467/2 "2024-09-03T10:27:19Z")

</div>

Hi!

You can create an event on the dropdown (onActionPerformed). When the value changes, you can read the value, and if the value is 1, update tag\_route\_1, if 2 then 2, and so on....

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/5/152515d708dfc04fc67da5bca8b057f254dacc63.png)
