# Button visible sometimes settings

**URL:** <https://forum.adalo.com/t/button-visible-sometimes-settings/48445>\
**Category:** Get Help\
**Created:** [July 12, 2024, 7:31am UTC](https://forum.adalo.com/t/button-visible-sometimes-settings/48445 "2024-07-12T07:31:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![furiousfrog](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@furiousfrog](https://forum.adalo.com/u/furiousfrog)\
**Post date:** [July 12, 2024, 7:31am UTC](https://forum.adalo.com/t/button-visible-sometimes-settings/48445/1 "2024-07-12T07:31:02Z")

</div>

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

 ![Screenshot 2024-07-12 153026](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/5/4/542c307870a0597ae998a8123857018f17cbeebd.png)

---

<div class="post-metadata">

**Author:** ![desmet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/desmet/32/33710_2.png) [@desmet](https://forum.adalo.com/u/desmet)\
**Post date:** [July 12, 2024, 10:31am UTC](https://forum.adalo.com/t/button-visible-sometimes-settings/48445/2 "2024-07-12T10:31:08Z")

</div>

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

 ![Screenshot 2024-07-12 at 12.23.40](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/e/3/e378b0f9ffb9dddcb967026bfff3fb3b630b47cc.png)

---

<div class="post-metadata">

**Author:** ![furiousfrog](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@furiousfrog](https://forum.adalo.com/u/furiousfrog)\
**Post date:** [July 13, 2024, 9:57am UTC](https://forum.adalo.com/t/button-visible-sometimes-settings/48445/3 "2024-07-13T09:57:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![desmet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/desmet/32/33710_2.png) [@desmet](https://forum.adalo.com/u/desmet)\
**Post date:** [July 13, 2024, 2:27pm UTC](https://forum.adalo.com/t/button-visible-sometimes-settings/48445/4 "2024-07-13T14:27:07Z")

</div>

Here, i made file you can clone and study: [form](https://desmet.adalo.com/form)

---

<div class="post-metadata">

**Author:** ![furiousfrog](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@furiousfrog](https://forum.adalo.com/u/furiousfrog)\
**Post date:** [July 15, 2024, 1:39pm UTC](https://forum.adalo.com/t/button-visible-sometimes-settings/48445/5 "2024-07-15T13:39:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [July 25, 2024, 1:39pm UTC](https://forum.adalo.com/t/button-visible-sometimes-settings/48445/6 "2024-07-25T13:39:36Z")

</div>

Closed on July 25, 2024, 1:39pm UTC

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