# Sending msg.payload inside template function

**URL:** https://discourse.nodered.org/t/sending-msg-payload-inside-template-function/4669
**Category:** General
**Created:** [8 November 2018 08:58 UTC](https://discourse.nodered.org/t/sending-msg-payload-inside-template-function/4669 "2018-11-08T08:58:02Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)
#### Post date: [9 November 2018 19:56 UTC](https://discourse.nodered.org/t/sending-msg-payload-inside-template-function/4669/4 "2018-11-09T19:56:30Z")

</div>

Maybe this could be helpful

> [@Extract html input field value to payload](https://discourse.nodered.org/t/extract-html-input-field-value-to-payload/4568):
>
> Hey all, I've created an input field in the template node and I just want to extract it to use in my flows. Here's the basic input field (without the brackets): input type="text" name="joel" And then I'd like to take the users input and do something with it. How can I access the value in the html input field and use it in my node-red flow logic?

---

_[View the full topic](https://discourse.nodered.org/t/sending-msg-payload-inside-template-function/4669)._
