# How to Dynamically change the "Value Format" of ui\_text?

**URL:** <https://discourse.nodered.org/t/how-to-dynamically-change-the-value-format-of-ui-text/13116>\
**Category:** Dashboard\
**Created:** [10 July 2019 16:46 UTC](https://discourse.nodered.org/t/how-to-dynamically-change-the-value-format-of-ui-text/13116 "2019-07-10T16:46:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [10 July 2019 19:32 UTC](https://discourse.nodered.org/t/how-to-dynamically-change-the-value-format-of-ui-text/13116/5 "2019-07-10T19:32:49Z")

</div>

Have you tried setting outer quotes (in the template) around `{{msg.color}}`?  
In case you’re not too familiar with attributes in HTML tags and the importance of double quotes, take a look at this response I wrote in another topic here: [Material design icons vs font awesome](https://discourse.nodered.org/t/material-design-icons-vs-font-awesome/12615/11)

---

_[View the full topic](https://discourse.nodered.org/t/how-to-dynamically-change-the-value-format-of-ui-text/13116)._
