You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Postalcode validation accepts values that are longer than specified #87
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, 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.
Activity
lambacck commentedon Aug 10, 2015
A PR was recently merged for this: #85 but no release has been made since.
sldhana-zz commentedon Aug 10, 2015
@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.