Display pop up on condition issues

Hi there, beginner Bubbler here.

I have data type users who are members of data type party. Both users and parties reference each other (list of user’s parties, list of party’s users)

I want a pop up to appear on page load when a user is not a member of any party.

I’ve tried a few methods, but I can’t get it to work.

I’ve been trying to use a conditional: current user’s parties is not empty - but bubble is unhappy with this conditional? I guess because it’s a list, or doesn’t give a boolean answer (is that what bubble is expecting)?

What am I doing wrong? Thanks for any help you can give!

Yeah, I’ve always found that a bit strange (nonintuitive) as well. Seems like it should work.

Anyway, the solution is simple. Either check that :first item is empty or that :count is 0.

-Steve

Thank you, Steve! I had encountered this problem a few times in various places - just what I was looking for!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.