Forum Academy Marketplace Showcase Pricing Features

How to use an OR in the data source constraints?

When I use a dattasouce I can add constraints and they act as AND operator

How do i use the OR operator?

Hi @mohamad.r.khan :slight_smile: You can use the :filtered option with an Advanced Constraint for this. For example, if you only wanted to show Users whose name is either Tom or Bob, the data source would be:

There’s a caveat with stringing multiple logical operators in Bubble. In Bubble, they would be interpreted as the following: (((condition operator condition) operator condition) operator condition). So if you have something complex, it’s possible that to have an OR operator while seemingly having the behavior of an AND operator.

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