Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Talk to Experts Tuesday, Live Q&A, September 22: Moving from QlikView to Qlik Sense. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Unable to get alternate state trigger to work

Please take a look at the attached qvw file.

You'll notice that I have 2 listboxes in the default state and 2 from another state name CatState.

I would like to select a value in the Fruit listbox (CatState) and the trigger must then select the correct Category (Default state).

I've tried to set up onselect triggers as well as onchange triggers but I am unable to get the correct result. Can someone please assist.

 

image.pngup

1 Solution

Accepted Solutions
Highlighted

Hi, the initial question said "I would like to select a value in the Fruit listbox (CatState) and the trigger must then select the correct Category (Default state)." So it only works that way, not the opposite.

I tried to make a variation that works both ways, try it, I only made for the category field, if it works you can easily replicate to the Fruits field

View solution in original post

4 Replies
Highlighted

Hi, attached sample seems to work, all modifications are in triggers.

Highlighted
Partner
Partner

Thanks for your response @rubenmarin 

After  closer inspection your solution does not seem to be working.

The Fruit list box in Default state is not working. Try making a selection ... the result is not correct.

 

Highlighted

Hi, the initial question said "I would like to select a value in the Fruit listbox (CatState) and the trigger must then select the correct Category (Default state)." So it only works that way, not the opposite.

I tried to make a variation that works both ways, try it, I only made for the category field, if it works you can easily replicate to the Fruits field

View solution in original post

Highlighted
Partner
Partner

Thank you Ruben. It is working well.