Qlik Community

Qlik DataMarket Discussions

Discussion Board for collaboration regarding Qlik DataMarket.

Not applicable

List Box link

Hi,

I have 2 list box below :

When  I click BOOKED in List Box Status, the 2nd List Box (TransportMode) below will auto select B and V

and if I select BOOKCONFRE, the 2nd List Box will auto select A,C,P,T.

list.png

How should I code the 2nd List Box ? I tried various IF statement but didn't work.

Appreciate anyone could help.

Thank You.

Regards,

AG.

3 Replies
MVP
MVP

Re: List Box link

IMHO, you shouldn't write any specific code for list boxes in general, but list boxes should show the association between field values in your data model.

So, how are these two fields related in your model?

Not applicable

Re: List Box link

HI,

The first box is the status code. where the 2nd box is the category code. E.g. document 00012800 is tie to status BOOKED and TransportMode BOOKED.

User prefer to just select BOOKED and B, T automatically being selected. Thank you.

Regards,

AG

MVP
MVP

Re: List Box link

If the user really wants field values to get automatically selected, I think you would need to use triggers (e.g. Field Event Triggers in Settings - Document properties - Triggers) with a Selection - Select in field action. or Selection - Select Possible action.

Community Browser