At 12:55 PM 5/12/2009, you wrote:
On Tue, May 12, 2009 at 12:15 PM, Laurence MacNeill
<<mailto:[email protected]>[email protected]> wrote:
There's where we have our confusion -- it does automatically fire
whenever source and property values are set.
Of course it does. Sorry. That was stupid of me.
I see the problem. Essentially, you'd have to either write a
validator from scratch, or find a way to bind the source and
property values to the stock validator within your custom focusOut
function. And I'm not sure how you'd do that, since you can't use
binding syntax in ActionScript.
I'll try to play with it a bit, but it may be a day or two before I
can get to it.
FYI -- I figured it out! I can set the 'inputZIPCode.errorString'
and that will cause the inputZIPCode box to display the errorString
and glow red. I can set errorString anywhere, so I just set it after
I do the .validate() call if the result is not .VALD. Sweet!
Thanks for your help -- I probably never would've found that
errorString thingy if I hadn't been looking for a way to write a
custom validator.
Laurence MacNeill
Mableton, Georgia, USA
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------