2 Replies Latest reply on Feb 9, 2012 2:56 AM by Pixelpusher2807

    Change color of textfield on focus?

    Pixelpusher2807

      Hi,

      I try to change the color of a textfield on focus. The idea is to show the initial value ("search...") in light grey and switch to a stronger color when the user types something in the textfield. I added the "set text field" action to erase the intitial value on focus, but somehow I can't get the color change to work. As far as I understand I have to create a second class with a different color value for the textfield and have to activate this class on focus somehow. But how (sorry, I'm a designer)?

      Thanks a lot for your help.