If you're using Flex 2, check out triggerEvent in the Validator class.
That allows you to specify which event triggers the validation. I
believe by default this happens when you remove focus from the
component, but you can use triggerEvent to customize the behavior.

-deepa

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pk_wasp
Sent: Friday, May 05, 2006 6:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Validation framework and changing the way tooltips
get "triggered" (F2B2)

At the moment the validators will highlight a field in error and if you
mouse over it, it will display the error message.

Is it possible (this could be a feature request if its not too
late :) ), to select the way this is triggered?.

Rather then just only having the mouseOver event triggering the display
of the error message tooltips, allow other events to trigger it as well
e.g. when a users tabs to a field that is in error, we can show the
error message tooltip on a focusIn event - this might be handy for Call
Centre Applications where users tend to prefer to use the keyboard
rather then the mouse etc.

maybe a displayTriggerEvent attribute in the validators or something :)

cheers







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








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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to