Hi all,
Pretty new here, but loving Bubble already! Just running into a small thing that I think should be super easy to solve, but I just cannot make it seem to work.
I’m combining the sign up and log in into one page.
The conditional logic I’m trying to aim for is the following:
When the “Continue” button is clicked > Do a search in the database if the email entered in the email input exists already.
If not → Sign the user up with the credentials entered
If already exists → Log the user in.
I Googled, tried, but cannot seem to make it work.
It will always return “True” in the above example. I hoped with the above formula it would return “False” if the email already exists in the database. But unfortunately, when I enter an email that already exists in the user database, it will still return true and try to sign the user up.
(Please note that once I’ve got the sign up workflow working I will create the opposite one for the Log In, I understand these should be two separate workflows).
Could someone be so kind and give me an explanation on what I am doing wrong here and how I can ensure my formula works?
Would be greatly appreciated, thank you!
Update: also tried the below, but it looks like the “Search For User’s email” does not return anything, see the debugger information below.