Forum Academy Marketplace Showcase Pricing Features

Refer to a text count

Hey,

I have a text that has a count like Current Page Thing :count, but there are like 2000 entries, and I need a condition on another text when the :count = 0.

Can I refer to the count on the other text element like Text Count´s :count = 0 or I make the count again?

In theory if you just run the count twice in reality the second one should just refer to a cached version of the first one and wouldn’t get run twice.

Thanks, @richard10,

So when I have five texts with the same count expression, it will only do the math one time, right?

Bubble’s engine is sophisticated enough not to run the same query twice on the database, as I understand it.

1 Like