Global variable before login?

Is it possible to have a global variable that is accessible before user login? I want to store a code that a new user needs to enter to get to a sign up screen. Obviously if I create a collection with a code in it, it isn’t accessible as a condition if user is not logged in.

I don’t think this is possible, but thought I’d check.

It is possible. You are able to query any collection without the user being logged in.

You’re just not able to query any “logged in user” parameters.

Just add your input and button. Then make a list of “All Codes” from the button and set the visibility of the list to “Sometimes Visible if > Code Input > is not equal to > empty” and filter the code list to “Code # > is equal to > Code Input”

1 Like

Perfect! I forgot about using lists! That worked, Thank you!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.