# Dropdownlist selected value

**URL:** <https://forum.inductiveautomation.com/t/dropdownlist-selected-value/56831>\
**Category:** Ignition\
**Created:** [March 4, 2022, 10:21am UTC](https://forum.inductiveautomation.com/t/dropdownlist-selected-value/56831 "2022-03-04T10:21:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefano.sforna](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@stefano.sforna](https://forum.inductiveautomation.com/u/stefano.sforna)\
**Post date:** [March 4, 2022, 10:21am UTC](https://forum.inductiveautomation.com/t/dropdownlist-selected-value/56831/1 "2022-03-04T10:21:42Z")

</div>

Goodmorning,  
I use a dropdown list with property selected value that binding a plc variable integer.  
This variable is update from a script event, when change property selected value of dropdown list.  
All the time that I open windows with dropdown list, value of property Selected Value is -1.  
Why???  
How is possible memorize the selected value of dropdown list when close and reopened window with dropdown list???

Thank you

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 4, 2022, 1:04pm UTC](https://forum.inductiveautomation.com/t/dropdownlist-selected-value/56831/2 "2022-03-04T13:04:57Z")

</div>

you could bind the selected value with the tag and just not poll so that it only calls once on openeing the screen

---

<div class="post-metadata">

**Author:** ![stefano.sforna](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@stefano.sforna](https://forum.inductiveautomation.com/u/stefano.sforna)\
**Post date:** [March 4, 2022, 1:36pm UTC](https://forum.inductiveautomation.com/t/dropdownlist-selected-value/56831/3 "2022-03-04T13:36:28Z")

</div>

How is it possible not poll variable of property selected value???

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 4, 2022, 1:47pm UTC](https://forum.inductiveautomation.com/t/dropdownlist-selected-value/56831/4 "2022-03-04T13:47:00Z")

</div>

Hm seems that is not an option, huh weird xD

you could put a script in the onstartup of the dropdown then i suppose and set it there
