Skip to content

Zip code doesn't support international addresses #5845

Description

@willgearty

The zip code field (address_zip on ContactInfo) currently is hard coded to 5 characters. This means it doesn't support postcodes from outside the US.

I think the proper solution would look something like this:

  1. Add a second field address_postcode which supports longer postcodes (e.g., UK postcodes are up to 8 characters long)
  2. When a user selects "International" from the state field, the postcode field replaces the zip code field (like how the country field dynamically appears)
  3. address_zip and address_postcode would both be optional, but when an address is required, at least one of them would be required for the form to be valid

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions