# \[DONE\] Allow Button script to show a "result message" which can be copied

**URL:** https://community.fibery.io/t/done-allow-button-script-to-show-a-result-message-which-can-be-copied/4038
**Category:** Ideas & Features
**Tags:** automations
**Created:** [February 23, 2023, 2:15am UTC](https://community.fibery.io/t/done-allow-button-script-to-show-a-result-message-which-can-be-copied/4038 "2023-02-23T02:15:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)
#### Post date: [February 23, 2023, 2:15am UTC](https://community.fibery.io/t/done-allow-button-script-to-show-a-result-message-which-can-be-copied/4038/1 "2023-02-23T02:15:22Z")

</div>

If a Button script throws an error, the `Error.message` gets shown in the Button’s “result popup”.

It would be useful if a Button script could also display an arbitrary message in the “result popup”:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/4/4ef7f03cba95c8473fdd511e77973e9bd455b928.png)

Right now the only way to do something like this seems to be with `console.log`, which is not a great solution.

Also it seems not possible to select and copy text from the Button “result popup”, because it just closes as soon as you click on it.

**Use case:** I’m using a Button script to expose a password field (normally hidden).  
Yes, it’s a workaround for not having entity-based permissions.

---

<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: [October 4, 2024, 6:29am UTC](https://community.fibery.io/t/done-allow-button-script-to-show-a-result-message-which-can-be-copied/4038/2 "2024-10-04T06:29:52Z")

</div>

> [@June 1, 2023 / Selects in automation Formulas, custom Button messages](https://community.fibery.io/t/june-1-2023-selects-in-automation-formulas-custom-button-messages/4534):
>
> arrow_heading_down Propagate select value in automation Formulas Previously, [scripts](https://the.fibery.io/@public/User_Guide/Guide/Scripts-54) have been the only way to set single- and multi-select Field values in automations. Now that we’ve remembered we are a no-code tool, we introduce an easier way. Set a value of a select Field using another select Field: a Client is created from a Lead =\> copy Tags and Segment a Bug is created =\> set default Priority based on the parent Feature’s Priority a Private Task is moved to t…

---

<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: [October 4, 2024, 6:29am UTC](https://community.fibery.io/t/done-allow-button-script-to-show-a-result-message-which-can-be-copied/4038/3 "2024-10-04T06:29:59Z")

</div>


