Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postalcode validation accepts values that are longer than specified #87

Open
sldhana-zz opened this issue Aug 10, 2015 · 2 comments
Open

Comments

@sldhana-zz
Copy link

I am using FormEncode postalcode validation to validate postalcodes for certain countries. For example, if I enter a postalcode of 111-111 or 111111 for Japan, it returns an error as expected. But, if I enter 111-11111 or 1111111 (any digit more than the postalcode requirements), it accepts the value. Shouldn't the length requirements of the postalcode be honored?

@lambacck
Copy link
Contributor

A PR was recently merged for this: #85 but no release has been made since.

@sldhana-zz
Copy link
Author

@lambacck, any idea on the timeline? This fix is perfect for what I need to do and I am hoping to use this fix as a jumping board to add additional countries for postalcode validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants