# Perspective - add value from an object to another object by a button

**URL:** <https://forum.inductiveautomation.com/t/perspective-add-value-from-an-object-to-another-object-by-a-button/79559>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting\
**Created:** [September 24, 2023, 5:51pm UTC](https://forum.inductiveautomation.com/t/perspective-add-value-from-an-object-to-another-object-by-a-button/79559 "2023-09-24T17:51:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lgarcia](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@lgarcia](https://forum.inductiveautomation.com/u/lgarcia)\
**Post date:** [September 24, 2023, 5:51pm UTC](https://forum.inductiveautomation.com/t/perspective-add-value-from-an-object-to-another-object-by-a-button/79559/1 "2023-09-24T17:51:24Z")

</div>

Hi there,  
I need a help, how can I add value from an object to another object by a button?

Please check the image attached. I want to send the Date and Time Input object value to a Label value when I click the 'Add date to the label' button.

Could you help me?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/0/502a9001910cb8026991e133e726cc7c7acd6b3d.png)  
I

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 24, 2023, 6:12pm UTC](https://forum.inductiveautomation.com/t/perspective-add-value-from-an-object-to-another-object-by-a-button/79559/2 "2023-09-24T18:12:53Z")

</div>

Right-click on the button and select Configure Events.

 ![Copy to label](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/1/61acfc87a32dd3fb371c81e167cf3d87b25629f6.png)

I suggest to you that this action is unneccessary, non-standard and will confuse your operators. Whatever the label is being used for can access the `DateTimeInput.value` property directly.

I recommend reading up on good GUI design practices. It will help your design process, help your users and look professional rather than amateur.
