Syntax for multiple conditions

I have a few scenarios in my app where I have multiple OR and AND/OR statements but having issues with getting the result I believe I should. Is there syntax I need for this? Do I need to wrap each section of the conditional in brackets or parentheses to ensure each unique section within the one conditional is treated as a separate check?

Yeah I have found these to be really tricky and the best way (because also the editor is a PITA) is to break down the conditionals in to separate conditions and then place then in the correct order so that the right one triggers when it needs to.

A bit like an old fashioned Select…Case statement in Java/C++.

Hey @john48 :wave:

You have to enable the expression parentheses from the Settings > Versions. It will make complex conditionals a bit easier.

Play with it a little bit. You will see more in multiple places in the expression.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

That’s what I ended up doing. I’d like to play with the beta parentheses feature that @flusk mentioned

1 Like

complex condition:formatted as number or another complex condition:formatted as number or yet another complex condition:formatted as number ≥ 1

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