Eric Guesdon wrote:

>I do this code and i retreived true or false from validate method but i
>would like to retreive default validators behaviors (TextInput with red
>border and error tooltip attach to the error field)
>
That's kind of funny - I actually just ran into this exact same thing 
today.  The Validator revolves around the "errorString" property of 
UIComponent.

To set the red border and a tooltip on a textInput, set it's errorString 
to some value:

myInput.errorString = "This is the tooltip text";

To make the red border / tooltip go away, set the errorString to "".

-d




--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to