Working Around a Bug in the Zend Framework Post Code Validator

Written by James Mansson on July 10, 2014 Categories: Zend Framework 1

I recently discovered that the Zend Framework 1 Post Code validator has a bug when validating UK Post Codes with a space in them. The details of this can and a possible solution can┬ábe found here on Rob Allen’s blog (among other places). Essentially you need to strip all spaces from the post code before doing the validation.

No Comments on Working Around a Bug in the Zend Framework Post Code Validator

Leave a Reply

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