Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamic list box

I only want a list box to appear on the selection of a value in another list box?

i.e ListBox1 contains all the Warehouses

ListBox 2 with Warehouse Locations only appear on the selection of the raw material warehouse

1 Solution

Accepted Solutions
Jason_Michaelides
Luminary Alumni
Luminary Alumni

I would not use a trigger here - they can be difficult to manage.  Instead, consider using a Show Condition on the Warehouse Locations that looks like GetSelectedCount(Warehouses)>0

Hope this helps,

Jason

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

You have to trigger the field in this way:

Go on Settings -> document properties -> triggers

in the field event triggers box select your field and add extion -> external -> set variable

write in the upper box vShow and in the lower box write 1

Now in the script you need to define the varible in this way: LET vShow=0; and reload your document.

The last thing, the secon list box must be conditioned to be shown only if vShow=1 so go in layout -> conditional and write vShow=1

Let me know

Jason_Michaelides
Luminary Alumni
Luminary Alumni

I would not use a trigger here - they can be difficult to manage.  Instead, consider using a Show Condition on the Warehouse Locations that looks like GetSelectedCount(Warehouses)>0

Hope this helps,

Jason

Anonymous
Not applicable
Author

Thank you!