# Html node template problem

**URL:** <https://discourse.nodered.org/t/html-node-template-problem/18250>\
**Category:** Dashboard\
**Created:** [21 November 2019 21:44 UTC](https://discourse.nodered.org/t/html-node-template-problem/18250 "2019-11-21T21:44:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [21 November 2019 21:44 UTC](https://discourse.nodered.org/t/html-node-template-problem/18250/1 "2019-11-21T21:44:57Z")

</div>

with html i am not a big hero first of all...  
i am trying to send data to a template node, done it before but cannot get it to work now

simple part of the project below

```auto
[{"id":"8d600f30.09115","type":"inject","z":"227cf9d4.bc9666","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":500,"y":920,"wires":[["80f010cf.2fdf4"]]},{"id":"80f010cf.2fdf4","type":"function","z":"227cf9d4.bc9666","name":"flow get","func":"msg.payload = \"<td class=\\\"yellow\\\">xxx</td>\";\n\nreturn msg;","outputs":1,"noerr":0,"x":660,"y":920,"wires":[["cb299afd.478d28"]]},{"id":"cb299afd.478d28","type":"ui_template","z":"227cf9d4.bc9666","group":"c2bb98c0.094518","name":"airline","order":1,"width":20,"height":9,"format":"<html>\n\n<head>\n <style>\n\n\t\t .yellow { \n color: #FFFF00;\n font-size: 20px;\n font-family: \"Minisystem\";\n text-align: center;\n\t\t\ttext-transform: uppercase;\n\t\t\t}\n </style>\n\n</head>\n\n\n<body>\n<table width=\"750\" border=\"1\">\n <tr>\n <td class=\"yellow\">xxx</td>\n {{msg.payload}}\n </tr>\n <tr>\n <td colspan=\"3\" class=\"TEXT\">&nbsp;</td>\n <td rowspan=\"7\" style=\"text-align: center\">&nbsp;</td>\n <td colspan=\"3\" class=\"TEXT\">&nbsp;</td>\n </tr>\n <tr>\n <td class=\"text\">&nbsp;</td>\n <td class=\"text\">&nbsp;</td>\n <td class=\"text\">&nbsp;</td>\n <td class=\"text\">&nbsp;</td>\n <td class=\"text\">&nbsp;</td>\n <td class=\"text\">&nbsp;</td>\n </tr>\n\n\n</table>\n</body>\n\n</html>","storeOutMessages":true,"fwdInMessages":false,"templateScope":"local","x":850,"y":920,"wires":[[]]},{"id":"c2bb98c0.094518","type":"ui_group","z":"","name":"airline","tab":"f24d2ced.ef4af8","order":1,"disp":false,"width":"20","collapse":false},{"id":"f24d2ced.ef4af8","type":"ui_tab","z":"","name":"Airline","icon":"dashboard","order":2,"disabled":false,"hidden":false}]

```

i try to send `<td class="yellow">xxx</td>` as a payload  
but it shows at top of page and not as part of the table

really dont know were to start or fix it  
finally it is about 40 messages that needs to be send to the template node like msg.line1, msg.line, and so on

How is wrong in my idea?  
Thanks!
