Do a search for dynamic expression is empty

Hi everyone!
I’m trying to set up a simple username check in my database (if the username is taken, it should notify the user). I planned to use the “Do a search for” function for this, but I ran into a problem: after selecting it, it doesn’t show any values. I assume it should list my data types there, but nothing appears.

I checked the DB privacy policies, everything is set correctly, and I do have data in the table. I tried watching tutorials, but they seem to use the old UI, so their method doesn’t match what I see.

Do you have any idea how to solve this? I wouldn’t think this should be a complicated task. In the tutorials they use the “Search” expression, but I believe that was replaced by “Do a search for”.

Thank you so much!

1 Like

Oddly enough, I just set this up yesterday in my signup form.

When the ‘Sign Me Up’ button is clicked, there is an only when condition…

if there is a user with the same username, it triggers a warning toast.

You need to save the usernames in your database in lowercase. You can show them capitalized if you want.

Fixed spelling

im lost.. :smiley: i cant see your UI with this editors, i cant write (search for…), i just click to dynamic and choose what the system push up like look in the picture

The very first section at the very beginning of your workflow…when the button is clicked…

at the bottom, there is an ‘only when’.

In that ‘only when’ click into where you can add dynamic data, and then click ‘do a search for’. Then, when the box opens to show your constraints, add what I did, or whatever your titles are.

Then go back to the ‘only when’ and after the ‘do a search for’ click in the dynamic box and add ‘count is’ then manually type ‘0’ and click that from the options

I see ‘do a search for’ in your dropdown. Can’t you click that?

One thing that I just thought about…

it looks like you’re using the new feature Bubble came out with…I don’t have access to that yet.

So, I don’t know if what I told you in the step-by-step even works the same way in the new feature?

Maybe someone who has the new setup can tell you how to do it with that if it is different.

I may be confusing you more if the features I’m using aren’t the same setup for you?

If so, sorry for all the confusion.

Added: I would think everything would work the same, just with a different look

yes i do like you write.. :smiley: i think is the problem the new bubble design, the all tutorial is looks like old and i not found what i see in tutorial…like this

can i change this?

because i select the do a search for the and the next instruction is empty

i cant click on ‘do a search for’ for the other parameters or something

Ok, well, I thought this would be an easy fix :grinning_face:

I mentioned earlier, it could be because you’re using the new stuff Bubble put out?

I honestly don’t know.

I have no idea why you couldn’t search for users.

Are your privacy rules set right?

yesss, everything is good in privacy set right i checked with AI

i search where i can change my bubble ui version but i not found

i experienced the other method where i cant do parameters or something..exactly i cant use calculate formula with again the problems

@kotropeter

Click ‘Do a Search for’

The select User, and enter your constraints etc.

2 Likes

Ok, I think the new design Bubble came out with may work differently?

It’s frustrating, I know, because it works perfectly for me.

Added: I see @adamhholmes is showing you how to do it properly.

Good luck with your project, and I hope you get everything working the way you want.

Sorry for the confusion

oh my god.. my problem is the browser

i use safari for ios and i click in search for users and not open the parameters block and i download the new browser and first try…opened!

have a nice day and thank you so much the support!

1 Like

Ok, well, that solution never crossed my mind :grinning_face:

The important thing is you got it working.

Best wishes on your project

Good, but using the expression “is 0” can be workflow-consuming. Instead use “<1“

1 Like

Thanks for the info.

Didn’t know that…I’ll look into it :grinning_face:

1 Like

You should surely do. What are you building on currently??

Just working on a local shopping app with a few twists.

Learning a lot about Bubble while I’m building it.

Bubble is awesome, and I’m glad there’s a forum where I’ve learned a ton of things that help

Oh cool, bubble is indeed awesome to build on. I’m open to help anytime you hit a roadblock or you are open to collaboration.

1 Like