I've been following this example on livedocs

http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.
htm?context=LiveDocs_Parts&file=00001773.html

for how to validate multiple fields.  I can it to work apart from the
setting of the actual errorString on the appropriate input box.

I.E if I have three input boxes and box three has the error, then in the
example from livedocs it puts the error around whatever box I declared
as the listener.  How do I put the error around the appropriate box?
Any of the 3 boxes could have an error.

When debugging I can see that there is a property called actualListeners
which is an array, but its read only and the listener property only
takes a Object.  I have a work around for this which passes in the form
that I'm validating to the custom validator then overriding the 'get
actualListeners()' function, but I'm sure that there must be a better
way of doing this.

 

Thanks

Kenneth.

Reply via email to