Home > Flex > Only one Validator per element??

Only one Validator per element??

Further work with Flex Validators has lead me to find yet another limitation. You can have only one Validator per element. If you attempt to apply multiple Validators for one element you end up with the last one fired usually taking precedence as its errorString and valid/invalid events are the last set/fired. I do see the framework limitations making this happen but it is still very frustrating to not be able to combine Validators to their full potential. Things get even worse when you attempt to use a single-field validator and a multi-field validator on one element. This leads to nasty work-arounds which are nearly as bad as rewriting the validation code manually. I’ve filed two bugs with Adobe, SDK-11973 and SDK-11974.

Categories: Flex Tags: ,
  1. No comments yet.
  1. No trackbacks yet.