Hi, I only want to show a text, if the repeating group, which displayes all stories (data type in the database) that where posted this week, is empty. So the text should only be visible, if the repeating group is completely empty. When a user posts a story, the text should disappear. Does somebody know how this is possible?
Hi there, @Jakob1… as with all things Bubble, there are a number of ways to do what you described. One way you could go is to make the text element not visible on page load, and add a condition to the element with an expression that does the same search that the repeating group’s data source does. Then, add :count > 0 to the end of the expression, and make the element visible when the condition is true.
Another way you could go is to add a condition to the repeating group to hide the repeating group when it is empty. Then, add a condition to your text element (which isn’t visible on page load) to make the element visible when the repeating group isn’t visible.
Anyway, you’ve got options, and I hope this helps.
I tried to do it the second way, because that suits better, but I don’t find something like “is empty”. Can you please tell me how I should set it up
Best wishes
Jakob