Check out the errorColor style on UIComponent. This controls the color
of the highlight when validation fails on a user interface control. By
default, its red. 

deepa

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ethan Miller
Sent: Wednesday, January 16, 2008 10:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Styling of Invalid Inputs (Urgent)

Greetings -

This question concerns the styling of inputs and the special "invalid"
tooltip produced when a 
validator declares some input to be invalid. 

The Flex docs correctly point out that the invalid tooltip color can be
controlled using the 
.errorTip css class selector, however this has no effect of the border
drawn around the invalid 
input, ie it stays red. Thus if I set borderColor in .errorTip to green,
I get a RED border on the 
invalid input but with a GREEN error message tooltip, not good.

Any suggestions on how to control the invalid input border color?  I've
tried using the invalid 
event to manipulate borderColor, themeColor, styleName, etc. all to no
effect.

I have to deliver this code today so any help would be very much
appreciated!

cheers, ethan



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



Reply via email to