# Dropdown value selection which displays some value in the text box

**URL:** <https://forum.inductiveautomation.com/t/dropdown-value-selection-which-displays-some-value-in-the-text-box/91993>\
**Category:** Ignition\
**Created:** [June 18, 2024, 6:02am UTC](https://forum.inductiveautomation.com/t/dropdown-value-selection-which-displays-some-value-in-the-text-box/91993 "2024-06-18T06:02:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thanya\_Gangesh](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@Thanya\_Gangesh](https://forum.inductiveautomation.com/u/Thanya_Gangesh)\
**Post date:** [June 18, 2024, 6:02am UTC](https://forum.inductiveautomation.com/t/dropdown-value-selection-which-displays-some-value-in-the-text-box/91993/1 "2024-06-18T06:02:59Z")

</div>

How to display element from DB after selecting a value from the drop down which corresponds to the value of the same row in DB?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [June 18, 2024, 7:07am UTC](https://forum.inductiveautomation.com/t/dropdown-value-selection-which-displays-some-value-in-the-text-box/91993/2 "2024-06-18T07:07:41Z")

</div>

Parameterized named query, where the dropdown allows the selection of the parameter:

- Make a named query that takes a parameter
- Put a query binding on the text box
- Use the dropdown's value as parameter in the binding
- You'll need to either make the named query return a scalar, or add a transform to the binding to format the returned value

That's it.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [June 18, 2024, 8:35am UTC](https://forum.inductiveautomation.com/t/dropdown-value-selection-which-displays-some-value-in-the-text-box/91993/3 "2024-06-18T08:35:27Z")

</div>

Out of curiosity, is this Vision of Perspective?

---

<div class="post-metadata">

**Author:** ![Thanya\_Gangesh](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@Thanya\_Gangesh](https://forum.inductiveautomation.com/u/Thanya_Gangesh)\
**Post date:** [June 18, 2024, 8:38am UTC](https://forum.inductiveautomation.com/t/dropdown-value-selection-which-displays-some-value-in-the-text-box/91993/4 "2024-06-18T08:38:13Z")

</div>

How to take the dropdown's value as parameter in the binding?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [June 18, 2024, 8:45am UTC](https://forum.inductiveautomation.com/t/dropdown-value-selection-which-displays-some-value-in-the-text-box/91993/5 "2024-06-18T08:45:58Z")

</div>

In the binding's configuration window, there a field for each parameter. Click on the property browser icon and select the property you want to bind against.

But more importantly: Go watch the inductive university videos. This is VERY basic stuff. You can't just ask on the forum for this, or you'll spend your days asking questions and never understand what you're doing.

---

<div class="post-metadata">

**Author:** ![Thanya\_Gangesh](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@Thanya\_Gangesh](https://forum.inductiveautomation.com/u/Thanya_Gangesh)\
**Post date:** [June 18, 2024, 8:51am UTC](https://forum.inductiveautomation.com/t/dropdown-value-selection-which-displays-some-value-in-the-text-box/91993/6 "2024-06-18T08:51:13Z")

</div>

Okay thank you
