Closed (works as designed)
Project:
Postal Code Validation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2018 at 19:52 UTC
Updated:
27 Jun 2019 at 17:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
themic8 commentedPatch attached.
Comment #3
themic8 commentedComment #4
themic8 commentedComment #5
themic8 commentedComment #6
liam morlandThanks for the patch.
The sources I have found tell me that it is correct as it is. Do people sometimes not use the final three letters? Perhaps they should be optional.
There is no point putting
{1}; it means the same thing as leaving it out. While we are changing it, it should use\dinstead of[0-9].Comment #7
themic8 commentedThe current configuration is not allowing users to complete their orders due to the validation. This was tested on a live site and blocks users.
Comment #8
liam morlandEverything I have read about Argentine postal codes matches what is currently there. If it is the case that people are not actually using the last three digits, those can be made optional.
Comment #9
liam morlandComment #10
liam morlandComment #11
themic8 commentedLiam, Thanks.
Comment #12
liam morlandDid you want to re-roll this with the last three digits optional?
Comment #13
liam morlandAs far as I can tell, the code is correct as it in. I would be interested in hear from someone with experience with Argentinian postal codes. I'm happy to make fixes as required.