# Rider accept button/same time click issue

**URL:** <https://forum.adalo.com/t/rider-accept-button-same-time-click-issue/27227>\
**Category:** Get Help\
**Created:** [May 15, 2022, 12:43pm UTC](https://forum.adalo.com/t/rider-accept-button-same-time-click-issue/27227 "2022-05-15T12:43:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthony25](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anthony25](https://forum.adalo.com/u/anthony25)\
**Post date:** [May 15, 2022, 12:43pm UTC](https://forum.adalo.com/t/rider-accept-button-same-time-click-issue/27227/1 "2022-05-15T12:43:17Z")

</div>

I wanted to have a button when 1 rider clicked it. only 1 can cater and then order will disappear from that queue.

I already tried using true/false and (change value input) to hide button after clicked.  
But when 2 or more “Rider” click ACCEPT to an order at the same time, all of them will get the current order. What can I do to prevent others from entering the order?.

Thank you so much!

---

<div class="post-metadata">

**Author:** ![bioveneris](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@bioveneris](https://forum.adalo.com/u/bioveneris)\
**Post date:** [May 15, 2022, 12:46pm UTC](https://forum.adalo.com/t/rider-accept-button-same-time-click-issue/27227/2 "2022-05-15T12:46:03Z")

</div>

use a true/false parameter in your custom list to hide the button, set up instant refresh of the list, optionally put a date/time parameter to assign the command to who clicked on it first

---

<div class="post-metadata">

**Author:** ![anthony25](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anthony25](https://forum.adalo.com/u/anthony25)\
**Post date:** [May 15, 2022, 2:39pm UTC](https://forum.adalo.com/t/rider-accept-button-same-time-click-issue/27227/3 "2022-05-15T14:39:49Z")

</div>

Thank you for the reply.  
I’m not sure how will I apply the date/time parameter. May I know how you’ll apply it?

the true/false with instant refresh works, but only if they did not click at the same time.

---

<div class="post-metadata">

**Author:** ![bioveneris](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@bioveneris](https://forum.adalo.com/u/bioveneris)\
**Post date:** [May 15, 2022, 5:09pm UTC](https://forum.adalo.com/t/rider-accept-button-same-time-click-issue/27227/4 "2022-05-15T17:09:48Z")

</div>

create a date/time field in your commands collection, on the button you add an update action, and you update the date/time field with the current time value

---

<div class="post-metadata">

**Author:** ![EvilDice](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/evildice/32/19788_2.png) [@EvilDice](https://forum.adalo.com/u/EvilDice)\
**Post date:** [May 18, 2022, 9:40am UTC](https://forum.adalo.com/t/rider-accept-button-same-time-click-issue/27227/5 "2022-05-18T09:40:13Z")

</div>

Hi @anthony25

I resolved this issue adding a buffer time to collect all the “accept” from the riders.  
After few seconds there is a list of riders that axcept the delivery, sorted by the time of answer.

Is like a race… the first win.

You can show to the rider the list and tell “sorry you are arrived second!!” or “You WIN!”  
I don’t think ther is other way to manage real time click.

---

<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:** [May 28, 2022, 9:40am UTC](https://forum.adalo.com/t/rider-accept-button-same-time-click-issue/27227/6 "2022-05-28T09:40:17Z")

</div>

Closed on May 28, 2022, 9:40am UTC

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