Solved

Filter Lobby - Is it possible have more than one value


Userlevel 2
Badge +5

Hello,

Is possible set up a lobby element to have more than one value for a lobby parameter in Apps10 IE.

An example would be where a user wants to see shipping information for two Sites and wants to enter those sites in the Lobby Parameter.

I think the answer is ‘No’ but I want to make sure.

Thank you in advance

icon

Best answer by CallumW 25 May 2022, 22:06

View original

3 replies

Userlevel 6
Badge +15

Hi,

 

You can use regular expressions in the condition of the data source for the element.

 

Where contract is the field name and $Site$ is the lobby parameter.

REGEXP_LIKE(contract, replace(replace('$Site$',',','|'),'%','^'))

 

The example above is using a comma as the delimiter, so the user would need to enter in the following format: SITE1,SITE2,SITE3 etc…

(It doesn’t like if you try and use a space after the comma in your example image)

 

Thanks, Callum

Userlevel 2
Badge +5

Thank you so much!!!! I’ll try it right now!

Userlevel 2
Badge +5

Works like a charm!!! Thank you again!

Reply