# Dynamic drop down lists

**URL:** <https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708>\
**Category:** General Discussion\
**Created:** [July 3, 2018, 2:51pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708 "2018-07-03T14:51:48Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 17, 2021, 5:37pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/21 "2021-12-17T17:37:04Z")

</div>

Getting dangerously off-topic here, but for Windows I’ve never found a better tool than [ShareX](https://getsharex.com/) - it’s FOSS, does screen captures, GIF recordings, video recordings, and has a dizzying array of configuration options.

---

<div class="post-metadata">

**Author:** ![Jess\_Ambrose](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@Jess\_Ambrose](https://forum.inductiveautomation.com/u/Jess_Ambrose)\
**Post date:** [December 17, 2021, 9:49pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/22 "2021-12-17T21:49:31Z")

</div>

@paul-griffith Thanks! I’ll have to check that out on my personal/surface. What is FOSS?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 17, 2021, 10:50pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/23 "2021-12-17T22:50:39Z")

</div>

Free open-source software. Not a guarantee of quality by any stretch of the imagination, but definitely a selling point in this area where lots of offerings are full of malware, ads, watermarks, or other annoyances.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 18, 2021, 4:18am UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/24 "2021-12-18T04:18:48Z")

</div>

FFmpeg for the win!

---

<div class="post-metadata">

**Author:** ![tamerplc](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tamerplc](https://forum.inductiveautomation.com/u/tamerplc)\
**Post date:** [December 20, 2021, 1:03pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/25 "2021-12-20T13:03:58Z")

</div>

i am using [https://getsharex.com/](https://getsharex.com/) it opensource

---

<div class="post-metadata">

**Author:** ![tamerplc](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tamerplc](https://forum.inductiveautomation.com/u/tamerplc)\
**Post date:** [December 20, 2021, 1:04pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/26 "2021-12-20T13:04:24Z")

</div>

try this [https://getsharex.com/](https://getsharex.com/) amazing and open source

---

<div class="post-metadata">

**Author:** ![SKA](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ska/32/29528_2.png) [@SKA](https://forum.inductiveautomation.com/u/SKA)\
**Post date:** [December 20, 2021, 1:04pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/27 "2021-12-20T13:04:55Z")

</div>

I prefer using a canvas and a charcoal pen

---

<div class="post-metadata">

**Author:** ![Jess\_Ambrose](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@Jess\_Ambrose](https://forum.inductiveautomation.com/u/Jess_Ambrose)\
**Post date:** [December 22, 2021, 9:56pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/28 "2021-12-22T21:56:09Z")

</div>

Okay people help me out with this next issue:

I made my drop down options. I have all of them showing up or hidi ng based on conditional if/else statements:

If({Root Container.Group 2.Dropdown 11.selectedStringValue}=“Yes”,True,False)

What I did basically was group my options, and so based on if the user selects on or the other, the next level shows up. I have the groups sitting on top of eachother. It works, for the most part, but I need some way to “clear” it after usage, so that the entire page resets.

Suggestions on the fastest/easiest way to implement this feature?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 23, 2021, 6:51am UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/29 "2021-12-23T06:51:50Z")

</div>

> [@Jess\_Ambrose](#):
>
> If({Root Container.Group 2.Dropdown 11.selectedStringValue}=“Yes”,True,False)

Not to answer your question, but you could also replace this with simply:

```auto
{Root Container.Group 2.Dropdown 11.selectedStringValue}='Yes'

```

---

<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:** [December 26, 2021, 9:58am UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/30 "2021-12-26T09:58:23Z")

</div>

Can you show us what you did ?

---

<div class="post-metadata">

**Author:** ![Jess\_Ambrose](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@Jess\_Ambrose](https://forum.inductiveautomation.com/u/Jess_Ambrose)\
**Post date:** [December 28, 2021, 8:53pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/31 "2021-12-28T20:53:24Z")

</div>

While your answer is correct, including that would do the same thing, it doesn’t answer my question. Also, personally, the if statement is still going to be looking for what to do if false, so just as good practice, you should still include that. You never know when you will need to add nested statements in the future.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 29, 2021, 10:57pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/32 "2021-12-29T22:57:40Z")

</div>

> [@Jess\_Ambrose](#):
>
> it doesn’t answer my question

> [@nminchin](#):
>
> Not to answer your question, but...

I did say that 😄  
Also, for readability's sake and reducing mental load, it's easier to comprehend shorter concise logic than overly verbose redundant logic, especially for things like this where there is only a true or false outcome. Take for example a slightly more complex expression:  
`!A and B or C`

Adding this to an if statement would be meaningless and would more likely confuse rather than assist:  
`if(!A and B or C, True, False)`

---

<div class="post-metadata">

**Author:** ![Codi\_Weisz1](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@Codi\_Weisz1](https://forum.inductiveautomation.com/u/Codi_Weisz1)\
**Post date:** [September 24, 2023, 5:27pm UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/33 "2023-09-24T17:27:14Z")

</div>

Hi Jess, would you be willing to still make that tutorial for Iteration 3? I am trying to accomplish the same thing, and am not sure how you set up the tags (i.e. their actual configurations as memory tags). Also, do you have three dropdown menus on-top of each other and only the one you want shows based on your selection in level 0? Or, is it one dropdown menu whose values actually change based on the selectedValue in Level 0? Thank you!

I know this is rushed, and it's been years, but I was put on a project whose funding closes in 5 business days--time is of the essence for me to figure this out. Thanks!

---

<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:** [September 25, 2023, 9:33am UTC](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708/34 "2023-09-25T09:33:05Z")

</div>

Is this for perspective or vision?  
What's the source for the options in each dropdown ?

The usual way of doing this, at least in perspective, is to bind the `options` property of a dropdown to the `value` property of another one, and use this value to select a set of options - Maybe it's a parameter for a named query, maybe it's a key to fetch data in a dictionary or a dataset... there's a vast range of possibilities.

Also, if you're in a hurry, I'd suggest creating a new thread in the ignition category - this shouldn't have been in the "general discussion" category in the first place.

[Previous page](https://forum.inductiveautomation.com/t/dynamic-drop-down-lists/18708.md?page=1)
