@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)