Closed (fixed)
Project:
Address Field
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2012 at 13:16 UTC
Updated:
24 Nov 2013 at 02:23 UTC
Jump to comment: Most recent
Comments
Comment #1
liam morlandThe Postal Code Validation module could help with this.
Comment #2
liam morlandComment #3
firfin commentedOk, thanks for your reply. Does that module play nice with address field?
I solved the problem by inplementing hook_form_alter() for the forms that had the address field. I gather address field module will not be validating postal codes.
Changing status accordingly.
Comment #4
liam morlandThe Postal Code Validation module could be used by the Address Field module to do validation. Some code would need to be added to Address Field. Postal Code Validation by itself just provides the validate function and the validation rules for many countries.
I think it is a valid feature request to add validation to Address Field.
Comment #5
liam morlandMarking #1814522: Support for address field module? as duplicate of this.
Comment #6
firfin commentedOk, guess it is not happening then. As I understand it, the address field module maintainers are interested in one thing and one thing only: supplying an xnal standard compliant address field.
Comment #7
liam morlandIf so, there are probably hooks that could be used by another module to connect together Address Field with Postal Code Validation.
Comment #8
g089h515r806 commentedtry field_validation_postal_code_validator in field validation(http://drupal.org/project/field_validation ) module. it fix this issue.
Comment #9
liam morlandComment #11
shaneonabike commentedCould we put some documentation on the main project page about this.. it's super not clear and later only realized by searching through the issue queue? Using postal code validation is great but requires code to put in a hook and such... You could even reference this ticket if you like?
Thanks
Comment #12
shaneonabike commentedComment #13
rszrama commentedI've listed that module under the compatibility notes.