Incorporating conditions and logic statements
Now, let’s dive into some logic and conditions. Logic plays a huge part in conjunction with workflows and databases, and a very commonly used technique inside Bubble is called custom states. This is a resource that can be used to define specific variables and you can use them as conditionals to change how elements look and behave.
A custom state is a type of variable or data storage that is unique to an element within an application. Think of it like this: I can have custom states added to specific components and use that variable from it, which allows you to store and manage information specific to that particular element, such as a button or a group, without affecting the overall database. Custom states can be used to temporarily hold data or values that are relevant only within the context of that element and are typically used for dynamic changes or interactions within the user interface. It is not something you will store...