Skip to main content
Solved

Filter Lobby - Is it possible have more than one value

  • May 25, 2022
  • 3 replies
  • 343 views

Forum|alt.badge.img+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

Best answer by CallumW

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

3 replies

CallumW
Superhero (Partner)
Forum|alt.badge.img+16
  • Superhero (Partner)
  • 129 replies
  • Answer
  • May 25, 2022

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


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 9 replies
  • May 26, 2022

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


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 9 replies
  • May 26, 2022

Works like a charm!!! Thank you again!