# Write to tag through an input label and button

**URL:** <https://forum.inductiveautomation.com/t/write-to-tag-through-an-input-label-and-button/115397>\
**Category:** Ignition\
**Created:** [May 6, 2026, 7:29am UTC](https://forum.inductiveautomation.com/t/write-to-tag-through-an-input-label-and-button/115397 "2026-05-06T07:29:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maryam.askar](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@maryam.askar](https://forum.inductiveautomation.com/u/maryam.askar)\
**Post date:** [May 6, 2026, 7:29am UTC](https://forum.inductiveautomation.com/t/write-to-tag-through-an-input-label-and-button/115397/1 "2026-05-06T07:29:00Z")

</div>

Hi,

I am trying to write to a tag. First I created a popup in a parent project . The popup consists of an input textfield and a button. what I want is to write a number in the input field and press the button to write to the tag. That popup will show up in the main project when I press an icon . How do I do it? I do the tag binding by property binding

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 6, 2026, 7:56am UTC](https://forum.inductiveautomation.com/t/write-to-tag-through-an-input-label-and-button/115397/2 "2026-05-06T07:56:20Z")

</div>

You should be passing the tag path (as a string) to the tag into the popup via a param on the View.

Bidirectionally bind a custom prop on the view, let's say `view.custom.tagValue_RW`, using an indirect tag binding to your tag path.

In your accept button, write a script that simply sets the value of your `view.custom.tagValue_RW` to the value in your numeric entry field.

Note: I would suggest that you also create a `view.custom.newValue` and bidirectionally bind the numeric entry field value to this. This means that you can move the numeric field around into groups etc and not have it affect the button script. Then in your script, get the value of the numeric field from the `view.custom.newValue`.
