# Replace value inside an input field with context

**URL:** <https://discourse.nodered.org/t/replace-value-inside-an-input-field-with-context/78640>\
**Category:** General\
**Created:** [23 May 2023 13:01 UTC](https://discourse.nodered.org/t/replace-value-inside-an-input-field-with-context/78640 "2023-05-23T13:01:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfedo](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sfedo](https://discourse.nodered.org/u/sfedo)\
**Post date:** [23 May 2023 13:01 UTC](https://discourse.nodered.org/t/replace-value-inside-an-input-field-with-context/78640/1 "2023-05-23T13:01:41Z")

</div>

Hello,

I have this node:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/4/94601d29961d7ac4839b2b3026c13f1f33ebb044.png)

I want to replace the number 6100 with a value stored in global context. Is is possible to accses this value inside this field with some kind of pointer like the enviroment variables use $?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [23 May 2023 14:34 UTC](https://discourse.nodered.org/t/replace-value-inside-an-input-field-with-context/78640/2 "2023-05-23T14:34:44Z")

</div>

What is the full name of the node? i.e. node-red-contrib-somethinng

Have you looked at eh documentation for the node to see if you can change it dynamically?

If it is a contrib node, I would go to the Flow tab here on the forum, look up the node, go to it's GitHub page and ask the author of the node.

I'd also take note of how long it has been since it was last updated.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 July 2023 14:35 UTC](https://discourse.nodered.org/t/replace-value-inside-an-input-field-with-context/78640/3 "2023-07-22T14:35:24Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
