# Disabled button with formula/conditional

**URL:** <https://community.fibery.io/t/disabled-button-with-formula-conditional/6617>\
**Category:** Ideas & Features\
**Tags:** automations\
**Created:** [September 10, 2024, 6:20am UTC](https://community.fibery.io/t/disabled-button-with-formula-conditional/6617 "2024-09-10T06:20:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathieu\_24](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mathieu_24/32/9984_2.png) [@Mathieu\_24](https://community.fibery.io/u/Mathieu_24)\
**Post date:** [September 10, 2024, 6:20am UTC](https://community.fibery.io/t/disabled-button-with-formula-conditional/6617/1 "2024-09-10T06:20:02Z")

</div>

Add a condition/formula to make a button disabled or not

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [September 10, 2024, 7:32am UTC](https://community.fibery.io/t/disabled-button-with-formula-conditional/6617/2 "2024-09-10T07:32:40Z")

</div>

Related

> [@Control display of Action button?](https://community.fibery.io/t/control-display-of-action-button/354):
>
> I can make an action button with your supplied sample code, to put a “assign to me” button on every record: const api = context.getService("fibery"); await Promise.all(args.currentEntities.map((e) =\> api.assignUser(e.type, e.id, args.currentUser.id))); Is there a way now, to control the display of the button, so that, if I am already assigned, it does not appear?

---

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [February 6, 2025, 11:34pm UTC](https://community.fibery.io/t/disabled-button-with-formula-conditional/6617/3 "2025-02-06T23:34:37Z")

</div>

I just saw on my email logs that we accidentally sent an email to the client 4 times.  
I would love to be able to disable buttons that trigger emails after the email is sent.
