# Conditional logic for CTA button

**URL:** <https://community.elfsight.com/t/conditional-logic-for-cta-button/116220>\
**Category:** Calculator\
**Tags:** Released\
**Created:** [April 24, 2025, 6:30pm UTC](https://community.elfsight.com/t/conditional-logic-for-cta-button/116220 "2025-04-24T18:30:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![D\_C](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/d_c/32/48019_2.png) [@D\_C](https://community.elfsight.com/u/D_C)\
**Post date:** [April 24, 2025, 6:30pm UTC](https://community.elfsight.com/t/conditional-logic-for-cta-button/116220/1 "2025-04-24T18:30:35Z")

</div>

Also, it would be great to have this kind of functionality tied to the call-to-action button. For instance, I’m selling smart home gadgets, and depending on whether the customer chooses to install the product themselves or have it installed by us, the CTA button should either link to the shop or to a lead form.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 3, 2026, 3:41pm UTC](https://community.elfsight.com/t/conditional-logic-for-cta-button/116220/2 "2026-09-03T15:41:07Z")

</div>

Hey everyone!

We’re happy to share that the conditional logic for the Action button has just been released 🎉

Find more details in this post: [Calculator: Display Action buttons based on certain conditions](https://community.elfsight.com/t/calculator-display-action-buttons-based-on-certain-conditions/173380)
