Select to view content in your preferred language

Add trigger between filter

114
3
Sunday
gis_growing
New Contributor

Hello,

I my xpirience builder project I have 2 filter widgets. Both filter works on same data source. I need to add a trigger so the second filter show only elent released to the first selection into first filter.

i’m trying with trigger, but in the step ‘select target’ I have the message ‘no widget’ so is not possible to create a trigger. Any help how I can build this scenario? Thanks

 

0 Kudos
3 Replies
NicoleJohnson
Frequent Contributor

What I'm understanding is that you want your users to select something via the first filter, and then have the options in the second filter filtered by whatever the user chose first. To do that, you probably want to use just one filter widget with an "AND" clause. For the second part of the clause, choose the option to filter values based on previous selection. You don't need to do anything with actions or triggers.

Something like this:

NicoleJohnson_1-1759762096517.png

SpektraSrl
New Contributor

Hello Nicole, 

thanks for youe help and feedback. This way works fine but working into a single Filter widget. There is a way to reproduce the same output but using 2 different separated filter widget? 

Thanks

 

0 Kudos
NicoleJohnson
Frequent Contributor

If you use separate filter widgets, I think they act as "AND" (double check this though) but you don't get the option to filter values based on the previous selection. The result is that if the user selects something in the "second" filter list first, the first list will be filtered by that selection, which may not be what you want.

0 Kudos