街道和邮政编码数据是否有可能不足以填充完整地址
我有一个表格,要求用户输入他们的邮寄地址。仅询问街道地址和邮政编码并省略城市和州会有任何问题吗? 用户邮政编码与邮政编码数据库相结合将获得用户的完整地址。考虑到邮政编码数据库是准确的,这可靠吗?
I have a form where I ask the user to input their mailing address. Would there be any issues with asking only street address and zipcode and omitting city and state?
User zipcode in conjunction with zipcode database would result in having full address of the user. Would that be reliable considering that zipcode database is accurate?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
马尔辛,
城市和邮政编码之间不存在一对一的关系。一个城市可以有多个邮政编码。邮政编码可以跨越城市线。
布莱恩
Marcin,
There is not a one to one relationship between city and zipcode. A city can have multiple zipcodes. A zipcode can cross city lines.
Brian
我不会那样做。
I wouldn't do that.