@grid7 - in your video it seems to show an option to “add skills filter” , similar to how it is available in the list settings. I am unable to find or see that option - when I am working to change visibility, I see only the 3 inputs as shown in the original post (dropdown to select variable, dropdown to select operator, and dropdown or input to add a single condition).
What’s going on here? Is there something I’m missing?
Also, the solutions provided here (using layers with different visibility rules, using the transparent .png as in the video) provide a decent hack to make for “AND” conditional visibility functionality, meaning you can set a component to be visible if ALL conditions are met. However, my specific use case requires an element to become visible if either of 2 conditions are met, basically an “OR” functionality. Is there any known way to accomplish this in Adalo?
Specifically - I have 2 fields in my “User” collection that define authorization for operating machinery - one field is “General Authorization”, which defines whether or not they have received the general training and certification to operate the machines. A second field is “Machine Ratings”, which is a relational field to a collection of machines. This defines whether or not the user has been rated/authorized to operate a specific machine.
When viewing a Machine Profile, I want the user to see an alert that they are “not authorized to operate this machine” IF they are EITHER not generally authorized OR if they are not rated on that specific machine.
Any thoughts?
PS: @PrincipledPeter - I am not experiencing that issue when using “Groups” to add visibility layers. Buttons seem to be behaving the same behavior as any other component.
NOTE: I would wait to hear from @grid7 before you take my word for it, but I am suspicious that the video posted by him in this thread might be out of date - the “group layering” functionality to add multiple visibility rules is way cleaner and easier than putting in transparent png’s, so I’m thinking maybe that functionality didn’t exist when the video was made.
Try using layers to stack visibility rules - you can select any element or existing group, click the 3 dots in the upper-right of the left panel, and select “Make Group”. You can make a group in a group in a group, and so on to infinity. And, each “group” layer can have it’s own visibility rule. Note that, as I said above, in my experience this can only be used to give AND functionality on your rules, meaning all the rules’ conditions must be met for your element to become visible. Don’t know about getting some kind of “OR” functionality working…
(Edit - @PrincipledPeter I re-read your prior comment and realized you clearly said you WERE using the Group functionality to create visibility layers. my bad. Well, in that case all I can say is that I was not able to replicate the problem)