Trying set state based on URL for repeating group. Using contains doesn't work for url parameters with similar name

Basically, I’m just trying to set the state for my repeating group category from a URL parameter. It works great until I have two items with similar names. Then just defaults to whatever state has fewer characters. I tried using This URL “is” but I also have URL parameters for filtering which screws it up.

this URL contains search/cpu
this URL contains search/cpucoolers

this will automatically set my state to “CPU” even if I manually enter to try and get the state to go to cpucoolers.

Just change the first one to “this URL contains search/cpu AND this URL does not contain coolers”

I tried this and still doesn’t work it just defaults to whatever the shortest contains is.

This topic was automatically closed after 70 days. New replies are no longer allowed.