Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.