# Dynamic label update on button press

**URL:** <https://forum.inductiveautomation.com/t/dynamic-label-update-on-button-press/103797>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [March 17, 2025, 6:01pm UTC](https://forum.inductiveautomation.com/t/dynamic-label-update-on-button-press/103797 "2025-03-17T18:01:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [March 17, 2025, 6:35pm UTC](https://forum.inductiveautomation.com/t/dynamic-label-update-on-button-press/103797/3 "2025-03-17T18:35:22Z")

</div>

One problem that you may be having is that view parameters are only read once when the view loads. Changing them after that has no effect. @Kevin_Flener's solution is a good one.

Tip: Please see [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831).

---

_[View the full topic](https://forum.inductiveautomation.com/t/dynamic-label-update-on-button-press/103797)._
