I’m having an issue w/ block visibility setttings. I am trying to hide a block if data has been entered by the user about their geographic location. I have the current settings below, but when I preview using a test user with geographic data added, the block still shows up. For reference, the Headquarters Country field in Airtable is a link to another table. I’ve also tried with a lookup field in case the link field would be invalid for some reason.
I think Artur was asking if your details block is on a detail page where the record URL is included in the URL? Or are you using the details block on a page that is not normally meant for a “details page”?
@artur I’m wondering if you have an update on this. I’m having issues making this work with code as well.
On this page, I have several blocks. They are Call To Action, List Detail (x2) and New Table Block (x2). I want these blocks to appear if certain data is missing or not meeting certain required criteria. The “Hide block if” feature is not working based on my testing.
Is this a Softr issue, or is there a way for me to enable hiding blocks based on certain criteria that I’m missing?
@DefyPhysics How do your users navigate to the mentioned page and how the url looks like ?
This works currently when you go from a list page to a list detail page. Think of going from project lists to specific project details page. Is your use case the same or different
@DefyPhysics have you tried to go into the “Source” tab, apply the filter there, and when filter returns no results : Hide entire block? This has worked for me before.
Yes please! I want to hide a block on a details page (according to the properties of the relevant record) that is not the details block itself. Right now the only workaround I can think of is adding a whole other user group.
Hi @Laura_FindAIPros you should be able to access the block details record via conditional filters. If you’re looking to access more, I’d consider adding that linked relationship to the table of the details record.
What I ended up doing was just using a new List Item Details block and hacking it to be similar to what I was trying to get since the conditional filters work well with that.
But since the styling is limited for that block, my ideal is being able to only show any other kind of block (for example a Hero block) if the relevant page’s list item (already shown under certain conditions) meets a given condition.
Even my own explanation bends my brain - for example, I wanted to have a simple message block (was using a CTA) that says a user’s application is under process, but only show that whole block when the related user’s record (on the current list details page) has a Status field in Airtable that didn’t equal ‘vetted’. Hopefully that makes sense