# Text Field Style Customizer

**URL:** <https://forum.inductiveautomation.com/t/text-field-style-customizer/5635>\
**Category:** Ignition\
**Created:** [January 3, 2013, 12:56am UTC](https://forum.inductiveautomation.com/t/text-field-style-customizer/5635 "2013-01-03T00:56:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nate.Olson](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@Nate.Olson](https://forum.inductiveautomation.com/u/Nate.Olson)\
**Post date:** [January 3, 2013, 12:56am UTC](https://forum.inductiveautomation.com/t/text-field-style-customizer/5635/1 "2013-01-03T00:56:32Z")

</div>

I’m trying to get the background color of a text field to blink when the field is empty and change to a different color when there is a value in the field. I’ve got the blinking part down, but how do I do I tell it if Text \<\> “” set the background color to something else?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 3, 2013, 1:08am UTC](https://forum.inductiveautomation.com/t/text-field-style-customizer/5635/2 "2013-01-03T01:08:37Z")

</div>

Just add a custom property to the component that is a boolean (right click and select Customizers \> Custom Properties). Bind the new property to the following expression:`{Root Container.Text Field.text} != ""`You can then use that property in the styles feature.
