How to redirect from a page when a yes/no condition is not met?

I have this task from the airdev bootcamp to create an RSVP website, and I’m done with almost everything except this. I have to set up a condition where a certain page is only accessible to users who have logged in and confirmed their attendance through RSVP.

When someone who doesn’t meet the condition tries to access the page, they are redirected to the home page.

For the log-in part, I am done with. But I can’t seem to figure out how to only allow access to users who have attending = “yes”.

Link to my app: Bubble | No-code apps (bubbleapps.io)

That’s what I’m doing.

I’m using the When Page is Loaded only when “Do a search for RSVPs” but I can’t figure out what to do next, I’ve tried a whole bunch of commands but nothing seems to work.

The field is called “attending” under type RSVP, with a yes/no answer taken from the RadioButtons input at the RSVP form.

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