# Button to grab / store a value

**URL:** <https://forum.realdash.net/t/button-to-grab-store-a-value/7753>\
**Category:** Help, tips and tricks\
**Created:** [March 8, 2025, 4:12pm UTC](https://forum.realdash.net/t/button-to-grab-store-a-value/7753 "2025-03-08T16:12:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anderss42](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/f05b48/32.png) [@Anderss42](https://forum.realdash.net/u/Anderss42)\
**Post date:** [March 8, 2025, 4:12pm UTC](https://forum.realdash.net/t/button-to-grab-store-a-value/7753/1 "2025-03-08T16:12:02Z")

</div>

Hi, just really getting started with RealDash and looking for a bit of help if possible. For background I am using the software in an offroad race car. We don’t race on tracks so the Laptimer function is of little use to me however I would like to use the an action to save the last trip time, or stopwatch time before it is reset. So on the screen it would have another text value that gets the triptime recorded when the reset button is pressed. I don’t mind if the value does not save on power down. I would also use a similar function to record the distance and max speed during this time.

Any help on how to save a value to a text value on pressing a button would be gratefully received.

Thanks

Stuart

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [March 10, 2025, 6:58am UTC](https://forum.realdash.net/t/button-to-grab-store-a-value/7753/2 "2025-03-10T06:58:29Z")

</div>

There is a multitude of ways to accomplish this. At least 2 comes to mind immediately:

1. Experiment with ‘Stopwatch’ (Add Gauge-\>Date & Time-\>Stopwatch) gauge. It can be started/stopped by tapping the gauge, or by using triggers and actions.
2. A dummy timer value can be used and formatted to show proper time. Dummy timers can also be set/reset with triggers and actions.
