# Ignition Perspective: View/Update text fields from one View to another

**URL:** <https://forum.inductiveautomation.com/t/ignition-perspective-view-update-text-fields-from-one-view-to-another/27424>\
**Category:** Ignition\
**Created:** [August 14, 2019, 1:25pm UTC](https://forum.inductiveautomation.com/t/ignition-perspective-view-update-text-fields-from-one-view-to-another/27424 "2019-08-14T13:25:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David.Bell](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@David.Bell](https://forum.inductiveautomation.com/u/David.Bell)\
**Post date:** [August 14, 2019, 1:25pm UTC](https://forum.inductiveautomation.com/t/ignition-perspective-view-update-text-fields-from-one-view-to-another/27424/1 "2019-08-14T13:25:00Z")

</div>

Hello, is it possible in Ignition Perspective to update a text field on another View in the Perspective project? I have a Main Menu View that when I click a button, I want to update a text field on another view?

Thanks,

David

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [August 14, 2019, 1:34pm UTC](https://forum.inductiveautomation.com/t/ignition-perspective-view-update-text-fields-from-one-view-to-another/27424/2 "2019-08-14T13:34:19Z")

</div>

You can use message handlers for this.

On the text field you want to update from the other view, right click on it choose “Configure Scripts” and create a message handler to update its text value based on a payload sent to it. Make sure it’s listening on the “Session” scope so external views can send the message to it.

You can then send the message from another view using `system.perspective.sendMessage()` and providing the `sendMessage` function the handler name you set up on the text field.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [August 14, 2019, 2:57pm UTC](https://forum.inductiveautomation.com/t/ignition-perspective-view-update-text-fields-from-one-view-to-another/27424/3 "2019-08-14T14:57:36Z")

</div>

For clarification, this process will work very well as long as both Views are open in the current Session.

If you are attempting to update a Text Field for a View which is NOT currently open, you’ll need to incorporate either params for the View which contains the text Field, or use of a session property.
