My problem is with showing or hiding a Switch page item based on a users choices in an LOV. My goal is to only display this Switch if the user chooses a relevant item from the LOV. For example, if the user makes two selections "dog" and "cat", then I want the Yes/No switch to appear. If they choose "elephant" then I do not want it.
I have created a Dynamic Action with the client-side condition of "Item is in list" on the LOV item and a list of "23,24". Everything works fine as long as I only select one entry from the LOV. As soon as I select an additional entry the Switch disappears (because the False action of Hide kicked in).
I suspect this won't work because of the multi-select LOV. It is likely building a comparison behind-the-scenes like "two-values IN (23,24)". Could I use the "JavaScript expression" option instead of "Item is in list" to make this work? If so, an example would be greatly appreciated!
Basically, I want to code, "out of all the selections the user makes, if item 23 and/or 24 are part of them, then display the Switch".