Button visible sometimes settings

i was trying to make a choose username function, making every usernames are unique and not same with any other usernames, i want to make the confirm button only visible when the username typed in the text field component is not the same as any record in the username record user database, i wonder how should i set that up properly

I’d do the following, it can have a little delay, but does the job.

Create a second input field (Input 2), and store this hidden.
(I often use a separate screen to store all these kind of things. Nothing needs to link to that page, and you can make it as big as you need. )

In your new Input 2 field do a default value magic text: Users Count All
Then click on the red-text-badge, and add the filter: Where “username” is equals “Input 1”
Whenever it equals, the number goes to 1 and your button will hide.

There might be delay because of the count time, but you can solve this with some fidgeting i think

1 Like

do you mind showing more pics as examples?
i dont think it is working

Here, i made file you can clone and study: form

is there a way to make it load faster or another way to do the thing cuz users can just be fast enough to click the button before it disappear to get the existing username

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