1 Reply Latest reply on Dec 28, 2006 6:40 AM by awclemen

    zipcode validator

    shajahan_gani Level 1
      can we use the zip code validator for countries other than us and canada? india is having a 6 intiger value for zip code. so is there any modification be done in that validator class to handle zipcode from other countries?
        • 1. Re: zipcode validator
          Unfortunately, the zip code validator is only for US and Canada zip codes.

          What you can do, however, is subclass the Validator and create an IndianZipCodeValidator. If you have Flex Builder 2, the source for the ZipCodeValidator is included (under frameworks/source). You can use that as a template on how to best build your IndianZipCodeValidator.