If you subclass the validator and declare a property you should be able to put it on the tag. You can then access that property from wherever your logic would need.
Matt -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Monday, April 17, 2006 1:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 1.5 - Is it possible to pass in an argument to a validator constructor? My goal is to provide the "pretty name" of the field for use in the eventual error message. I was thinking I saw how to do this on this list several months ago, but so far my search for that topic has come up empty. Thanks, Libby -- 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 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/