Project:Zipcode (CCK)
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Valid Canadian postal codes have an optional space in the middle, not a dash. Also, they are called "postal code" and not "zipcode".

Attached is a patch that fixes validation, the error message and that adds formatting for Canadian postal codes. The patch is against head, from cvs.

AttachmentSize
canadian.patch2.46 KB

Comments

#1

Status:active» needs review

#2

Version:master» 5.x-1.x-dev
Status:needs review» fixed

Commited in drupal 5 version

#3

Status:fixed» closed (fixed)

#4

Can we have this committed to the 6.x version as well please?

nobody click here