If you need to have an AND and an OR condition, use an if-then-else column first.
For example, letâs say you want to a list of events that can only be edited by the event owner OR any app Admin AND only if the event hasnât happened.
Hereâs how:
Create an if-then-else column in the data table from where the component resides (letâs name this column âEditorsâ)
Create your OR condition within this if-then-else column. For example, if you want where Admin is True OR where email is signed in user, then create two if-then-else conditions:
if Admin column is True then âtrueâ
if Email is signed-in user then âtrueâ
else âfalseâ
In your component conditions, create your AND conditions. In the Details > Edit > Conditions, you can now create the AND/OR logic by stating Allow Editing where âEditorsâ is âtrueâ AND where eventDate is after Today.
Will we be able to compare a value to a list of values with this new feature?
I want to filter the choices that are available based on whether or not they have already been created for an item. I have a relation column to identify all of the sizes already created.
When I set this up, it seems like Glide is treating the relation as a value to compare to, versus a list of individual values to compare against.
Has anybody tried yet? Would this allow someone to filter a choice component in an add/edit/form screen based on a prior selection? Would this help eliminate the 2 step form process where some selections would need to be made outside of a form, so that the value is written to the sheet, to set relations for list or choice filtering?