Is there a way to set conditions? For example: changing a text or the visibility of an element based on a data condition.
Hey @josefernandez, this is definitely something that is on the table in the future for the app builder. There are currently 2 issues in Gitlab related to this:
Add complex conditions to element visibility tab (#2472) Ā· Issues Ā· Baserow / baserow Ā· GitLab and Add support for advanced formulas (#3164) Ā· Issues Ā· Baserow / baserow Ā· GitLab
Hi, any news on this? Thanks
Hi @josefernandez and @Luciano, Iām happy to report that this feature became available in the 2.0 release. If you open an elementās āVisibilityā tab, there is a new formula field in there called āVisibility conditionā. If this evaluates to true, then your element will be visible.
Cheers,
Peter Evans
Thanks a lot! Would you please link documentation or explain the exact syntax? Iām having issue using Visibility conditionā, it donāt work as I tested
Hi @Luciano, please accept my apologies, you found a little bug which is being resolved at the moment.
The element visibility is working correctly, but if you use form data in your formula, it wonāt. You can try other formula values in the meantime, so long as the result is ātrueā then the element will be visible.
Cheers,
Peter Evans
Thanks a lot Peter!
Unfortunately Iām still having problems understanding, for instance, how to show a component IF a field from Data source CONTAINS a specific value.
Same problem if, leāts say, I need to show a component only if a a field from Data source HAS ANY VALUE. Or using a regex.
I canāt find theese operators in the choices:
Do you have some documentation I can refer to formula and operators for this kind of scenario?
My pleasure!
The āadvanced modeā (with the operators and functions) is very new; it was introduced in Baserow 2.0 recently. As a consequence of this, weāre still adding new functions and operators, so there could be some gaps in the functionality.
For now, what I suggest is using the get/list rows data sources, in combination with filters, to reduce your data down to āhas any valueā.
Once this is done, if you swap to your elementās visibility, and apply this formula, it will hide/show the element if your filters returned rows:
Once we have a length function, which should arrive very soon, it will be a little easier to implement.
I hope this helps!
Cheers,
Peter Evans
Thanks for your answer.
Can I ask if there is any documentation arround because Iām trying to use the āorā function without success so far.
The visibility page seems out to date.
This is working : get(āform_data.4813ā)=āouiā
This is working : get(āform_data.4813ā)=ānonā
But this is not : get(āform_data.4813ā)=āouiā||get(āform_data.4813ā)=ānonā
Thanks !

