Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 352867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:46:37+00:00 2026-05-12T11:46:37+00:00

Say I am storing addresses in a DB table, in this fairly common break

  • 0

Say I am storing addresses in a DB table, in this fairly common break down:

address_street_line_1,
address_street_line_2,
address_city,
address_state,
address_zip,
address_country_id

(Note: I have read the questions on splitting down further, street type, house number, etc. and for this application I think it would unnecessarily complicate things.)

To work best with international users, which of these fields should NOT be required?

I’m thinking this:

address_street_line_1 REQUIRED
address_city REQUIRED
address_country_id REQUIRED

Should I require state or zip?

Thanks!
Xavier

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T11:46:38+00:00Added an answer on May 12, 2026 at 11:46 am

    Not all countries even use postal codes, for example they were rarely used in New Zealand prior to 2006 or so. I think Ireland doesn’t use them at all.

    If you’re truly international, city-states such as Singapore don’t actually need a City field.

    In the user interface, you can (and perhaps should) make the postcode required for countries where you already know it’s required, since that isn’t likely to change. And, if you make the UI dynamic enough, you can call it “Zip code” if the selected country is the United States, “Postal code” for Canada, “Postcode” for the UK, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have the following for storing in a localstorage var storageObject = {};
Let's say an Order has many Line items and we're storing the total cost
Is there any reason why storing a NSData object of say ~50MB into NSUserDefaults
If you have an instance of a Collection, say something like: Collection<String> addresses =
Say I have a data table with 3 fields: uid {1,2,3} username {john,bob,martha} address
Say, we are using EF Code First and we have this simple model: using
Say I have a common pattern with a Customer object and a SalesOrder object.
Say I have the following email addresses comma separated in a string: $addrList =
I want to send a notification (say a string) to subscribers(subscribers ip addresses are
Let's say I have a string in the following form: myString={name, age, address, contacts,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.