Ah yes, that works. Thank you so much! Another related question... .errorTip lets you control the placement position of the errorTip, ie borderTipRight, errorTipBelow, etc. however while these options change the direction of the graphical pointer leaving the error tip, the tip itself doesn't change position, ie if you set "errorTipBelow", the pointer now points up, but since the tip didn't move, the input field is still to the left, and the pointer is pointing up at nothing...

Note to Adobe... sure would be great if changing borderStyle on .errorTip also changed the tip position... the Callout component does this....

cheers, ethan

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: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Ethan Miller
Sent: Wednesday, January 16, 2008 10:06 AM
To: [email protected]
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