Validating multiple

You can implement the Name Validator class, as the following example shows: In this example, because you are using a single validator to validate three subfields of the Object passed to the validator, you include the optional second argument to the constructor for the Validation Result class to specify the subfield that caused the validation error.This inclusion permits Flex to identify the input component that caused the error, and to highlight that component in the application.While pair programming last week a colleague of mine showed me a great trick for validating user input with multiple options.This trick works best in PHP because of its fantastic array support.Then we need add this validator to field2, on the validation rule config page, enter group name, such as "group_name_1".

Also, the combination of them must be a valid date.

For example, validating that all items in a dropdown list exist.


  1. Pingback:

  2. eric   •  

    Reviews: “Amazing,” “Inspiring,” “A shot in the arm!

  3. eric   •  

    Also recently, there was an article stating that Dale and Kelly Clarkson were being hooked up. Junior has been linked with Emily Maynard, 21, the girlfriend of the late Ricky Hendrick.

  4. eric   •  

    Are we in jeopardy of a change in our credit score, which is in the 800 range?

  5. eric   •  

    Most services also encourage members to add photos or videos to their profile.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>