Re: Post / Zip Code



Kevin Powick <kpowick@xxxxxxxxx> wrote:

On Jan 26, 5:39 pm, Ross Ferris <ro...@xxxxxxxxxxxxxx> wrote:
Why not ask for country first, then have a custom "component" for
entry of address that is specific for that locale, populated with
correct states (our counties, province or whatever)

I've often wondered why so many websites do not employ such an
approach. It wouldn't be that hard and you wouldn't have to cater to
entire list of countries.


I was thinking along these lines as well. With "Web 2.0" why do we
have a single web page that attempts to cater to a worldwide audience
when we can easily morph the page based on user preferences? Ask the
user where they are and return proper fields and locale-specific
labels.

It might help to identify the country of origin based on the user's IP
address, assume that is the default, but still allow them to change
their preference.

Not to go too far OT, more sophisticated web sites do this with the
browser as well. Why put the code for all possible browsers into one
script passed in every query when you can identify the browser on the
first request and only return the code required for that browser?
ASP.NET does this automatically.

Some people might wonder about printing addresses: how do you know
which fields to use to build the address? The answer to this is
object-oriented but can easily be done in BASIC. Call a single
routine responsible for returning an address block, passing it all of
the data available. It will use the country and appropriate fields.
From then on you have one routine for the entire application which can
be changed as you add new locales or get updates on how to handle
those already supported.


Personally, unless you are collecting data for anything beyond
actually printing a shipping label I would much rather see a big text
box that says something like "Enter your address as would be required
to get this package to your door".

As a matter of simplicity, I agree. But I think it's rare that an
address is requested purely for mailing purposes, with no intent later
for processing on individual fields. The last thing you want to do is
request an address block and then find out later that you need to do
more processing. Federal and State agencies occasionally come up with
new requests like: "Have you been shipping to other states that do not
collect sales tax?" "Do you have customers who live in your county
who have taken delivery of product in another county or state?" "Have
you purchased durable goods not for resale for a price over $500 from
an internet-based company in your state?" ... Something tells me the
IRS is going to be looking for all kinds of ways to generate new
revenue.

T

.



Relevant Pages

  • Re: Custom 401 page problems
    ... Since you configured IIS to send a staic for this ... Now, a 401 response comes back to the client, and the entite body is the ... it is going to make a new request for this resource ... What request do you think the browser makes to fetch the 401.gif ??? ...
    (microsoft.public.inetserver.iis)
  • Re: How to write something to a html textfield and send it?
    ... > No need for controlling any particular browser. ... I'm not familiar with HTTP user ... and building the request in your program. ... The server doesn't know anything about a textfield; ...
    (comp.programming)
  • Basic Authorization Security Issue?
    ... seems like closing the browser ... When an non-authorized URL request in our intranet web server is attempted, ... resent with the basic authorization credentials and the user is logged in. ...
    (microsoft.public.security)
  • Re: openssl from tcl
    ... "gets $fp" to retrieve the request from the web browser. ... I send a response back to the browser, using "puts $fp 'html data'", ... Because you made the client connect to localhost, ...
    (comp.lang.tcl)
  • How to send response headers from proxy to browser?
    ... The proxy server intercepts every request from the ... browser and redirect it to www.yahoo.com. ... should we do to send the response headers from proxy? ...
    (comp.lang.java.programmer)