Hi;

I figure you can do something that does the best it can for each country.
And it gets improved over time. For example, the first rev would probably
only actually check 4 or 5 countries and all others would be "approved." But
over time it would be added to. But it does require passing a locale because
it could be a different locale from that of the page (ie a server in the
U.S. is getting info from a user in Germany for an address in Greece).

- dave


----- Original Message ----- 
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 15, 2003 12:06 PM
Subject: Re: validation - phone, state, & zipcode


> Do you want one that makes you coffee at the same time? ;)
>
> I don't think that there is even a java.util.Locale property for
> postcode format or phone number length (which judging by British Telecom
> can be random!). Are there any ISO standards for that?
>
> Adam
>
> On 08/14/2003 06:52 PM David Thielen wrote:
> > Hi;
> >
> > Is there a standard validation package out there that handles phone
number, state, & zipcode based on country?
> >
> > thanks - dave
>
> -- 
> struts 1.1 + tomcat 4.1.27 + java 1.4.2
> Linux 2.4.20 RH9
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to