Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
VivenReddy
Partner - Creator
Partner - Creator

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
rubenmarin

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
rubenmarin

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

VivenReddy
Partner - Creator
Partner - Creator
Author

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.

 

rubenmarin

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

VivenReddy
Partner - Creator
Partner - Creator
Author

Thank you Ruben. It is working well.