For when a search is loading

Hello Bubblers,

My “Create Account” button on my app has a conditional that searches my list of profanity words in my database to see if it contains the username they are trying to make. When the username is in the list of banned words, the button becomes un-clickable. My problem is that since the only option for conditionals is to make a button un-clickable, i cant set it to “make this button clickable” when search count is 0. Within the 2 seconds that it takes to search my database, people are allowed to quickly hit “Create Account” to finish the account creation before the search is complete. I tried using the when “page is loaded entire”, both on conditionals and on the button workflow, but even when it’s still searching the database, it thinks the page is still entirely loaded.

Any ideas? I’m sure I’m missing something quite simple. Thanks!

-Zach

Why can’t you do that?

Just make it unclickable by default, then set it to be clickable when the search count is 0 and the input is not empty.

If this is unchecked does that mean it will become clickable when the conditional is true?
Screen Shot 2023-02-10 at 2.39.47 PM

Yes, that’s right.

Gotcha thanks. The problem is that when a user starts typing the first three letters of the f word, it immediately searches and returns count as 0, but when the last letter is typed, they can quickly click sign up before the new search is completed. is there a way to tell when a do a search for is completed?

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