# Make button only be able to be clicked once

**URL:** <https://forum.bubble.io/t/make-button-only-be-able-to-be-clicked-once/331980>\
**Category:** Need help\
**Created:** [July 22, 2024, 4:31am UTC](https://forum.bubble.io/t/make-button-only-be-able-to-be-clicked-once/331980 "2024-07-22T04:31:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![magazine](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@magazine](https://forum.bubble.io/u/magazine)\
**Post date:** [July 22, 2024, 4:31am UTC](https://forum.bubble.io/t/make-button-only-be-able-to-be-clicked-once/331980/1 "2024-07-22T04:31:49Z")

</div>

I have a button that will allow user to create user login, and then redirect to a new page. However, I have seen it happen that user clicks the button multiple times, creating multiple accounts in the database.

1. Is there a way to make the button to be clicked once
2. or delayed on how often it can be clicked
3. or make it disabled so not clickable again.

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [July 22, 2024, 5:56am UTC](https://forum.bubble.io/t/make-button-only-be-able-to-be-clicked-once/331980/2 "2024-07-22T05:56:38Z")

</div>

1. Set a custom state that is a yes/no value.
2. Set default value to no
3. when button is clicked set the state value to yes
4. conditional on the button for when the custom state value is yes, property to change, this element is not clickable and check the box

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 30, 2024, 4:32am UTC](https://forum.bubble.io/t/make-button-only-be-able-to-be-clicked-once/331980/3 "2024-09-30T04:32:35Z")

</div>

Closed on September 30, 2024, 4:32am UTC

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