I’m looking to see if the following is possible in Adalo, and if so, how:
My users table has several properties for each user (e.g., Own a house (Yes/No), Own a Car (Yes/No), Age etc.)
I have another collection called goals, which includes records like (Sell your house, Renovate your house, Buy a Car, Maintain your Car etc.)
I want to use the deck slider to filter for only the list of goals that are relevant to each user based on a predefined set of rules. For example:
If a user has a car, then I want to show “maintain your car” in the deck slider; if they don’t, I don’t want it to appear
If a user has a house, then I want to show “sell your house” in the deck slider; if they don’t, I don’t want it to appear etc.
I understand that the deck slider can be used to add filters for the list it references. I’m just looking for help on how to make that list specific to each user, based on different characteristics each user has.
Are you referring to image slider or deck swiper ?
Fortunately both are lists.
Since they are list, they can be filtered like any other list, so if you have exercise with filtering with custom list, you should do the same with these.
Assuming you have created relationships in your database.
I am using the deck swiper, not the image slider.
I think my challenge is less the filtering, and more the database relationship perhaps.
I have 2 tables for this purpose:
Users (Properties > Name, Place of Birth, Age, Own a House, Own a Car etc.)
Goals (Properties > Name, True / False)
I would need the True / False value to change for each user so I can present only the goals that make sense for a user. As noted in the example above, If a person does not own a car, I don’t want to show “Maintain your car” as a goal.
It’s unclear to me how I can link the properties in the User collection, with the True / False for each specific goal record in the Goals collection. Can this even be done?
Thank you so much sharing this! Appreciate you taking the time to mock this up.
I noticed that the dropdown menu itself is visible based on the input from the toggle.
Is it possible to make certain properties in collection conditionally visible instead?