# Press a Button formula

**URL:** <https://connect.superhuman.com/t/press-a-button-formula/40107>\
**Category:** Ask the Community\
**Created:** [May 24, 2023, 11:10pm UTC](https://connect.superhuman.com/t/press-a-button-formula/40107 "2023-05-24T23:10:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Solyom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/nick_solyom/32/17483_2.png) [@Nick\_Solyom](https://connect.superhuman.com/u/Nick_Solyom)\
**Post date:** [May 24, 2023, 11:10pm UTC](https://connect.superhuman.com/t/press-a-button-formula/40107/1 "2023-05-24T23:10:58Z")

</div>

Hello, forgive the 101 question, but this is difficult to search for due to the generic search terms.

If I want to press a button in a table row with a formula what is the syntax? Is it ThisRow.Button.Activate()?

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [May 25, 2023, 12:22am UTC](https://connect.superhuman.com/t/press-a-button-formula/40107/2 "2023-05-25T00:22:03Z")

</div>

You mean, press a button with another button? It’s just `thisRow.Button` then.

You cannot press a button (make an action) from a _calculation_ formula, i.e. from a formula column. Actions can only be triggered from action contexts: other buttons and automations.

Can you share more about what you’re trying to do? There can be plenty different ways depending on what’s the thing.

---

<div class="post-metadata">

**Author:** ![Nick\_Solyom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/nick_solyom/32/17483_2.png) [@Nick\_Solyom](https://connect.superhuman.com/u/Nick_Solyom)\
**Post date:** [May 25, 2023, 12:32am UTC](https://connect.superhuman.com/t/press-a-button-formula/40107/3 "2023-05-25T00:32:18Z")

</div>

Thanks for the reply!  
I have a to do list app, and when a user hits the “done” button, which is a column with the type button, I want that done button to press other buttons on the row.

I want to split it up this way so I can trigger things in steps for debugging

Is this right?

```auto
Runactions(
Thisrow.button1,
thisrow.button2)

```

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [May 25, 2023, 12:36am UTC](https://connect.superhuman.com/t/press-a-button-formula/40107/4 "2023-05-25T00:36:03Z")

</div>

Yes, if you need to click several different buttons in a row, RunActions(btn1, btn2,…) is the way to do it.

And if you need to click the same button on multiple rows (e.g. mark all filtered tasks Done), no need to wrap that in RunActions — you can simply call e.g.

```auto
[My Tasks].Done

```

where My Tasks is a filtered view of tasks that you want to set all to Done.

---

<div class="post-metadata">

**Author:** ![Nick\_Solyom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/nick_solyom/32/17483_2.png) [@Nick\_Solyom](https://connect.superhuman.com/u/Nick_Solyom)\
**Post date:** [May 25, 2023, 12:44am UTC](https://connect.superhuman.com/t/press-a-button-formula/40107/5 "2023-05-25T00:44:29Z")

</div>

Thanks! I thought I needed to add a function like activate() for some reason

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [May 25, 2023, 12:49am UTC](https://connect.superhuman.com/t/press-a-button-formula/40107/6 "2023-05-25T00:49:49Z")

</div>

Activate() is an older function that opens up a row modal. It’s now replaced with `OpenRow()` as a more configurable option that allows selecting in which context to open it (in the context of which view). Basically you never have to use Activate anymore.

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/system/32/24484_2.png) [@system](https://connect.superhuman.com/u/system)\
**Post date:** [August 23, 2023, 12:50am UTC](https://connect.superhuman.com/t/press-a-button-formula/40107/7 "2023-08-23T00:50:32Z")

</div>

Closed on August 23, 2023, 12:50am UTC

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