Conditions and Filtering
Last updated
Was this helpful?
Last updated
Was this helpful?
Conditions and filtering are essential concepts found in many of Adalo's Components enabling you to control the behavior and appearance of your app based on specific criteria. Understanding these concepts will empower you to create dynamic and personalized user experiences.
Have a basic understanding of Databases, Screen & Components, and Actions
First let's define each term. Both of them run on what's called If-Then logic, meaning that if something is true, then do this thing.
Filtering: Filtering is used to selectively display your app data based on predefined criteria. It allows you to sift through collections by applying specific rules to control what is shown and what is hidden.
Conditions: Conditions evaluate whether or not something should occur within your app. They allow you to set up logic to trigger actions and show or hide components based on user interactions or data values.
Purpose: Conditions primarily control the behavior and appearance of components within your app, while filtering focuses on controlling the display of data.
Scope: Conditions are often applied to individual components or actions within your app, affecting their visibility or interactivity. Filtering, on the other hand, is applied to collections of data to determine which records should be displayed based on certain conditions.