0 Replies Latest reply on Jul 22, 2008 4:27 PM by baritone87

    Validator in an AddChild tag

    baritone87 Level 1
      I want to use a validator with a form that's loaded with a particular "state." In the attached simplified code, you'll see I have a Form in a VBox in an AddChild tag. But when I try to put a Validator next to the form, I get the error, "Component declarations are not allowed here. (Note: visual children must implement mx.core.IUIComponent)". How can I use a Validator? Is there a simple workaround?

      Thanks for any help.
      B