in reply to A question of logic and syntax

I think that part of the problem is that US numbers are today often written 555/555-1212 instead of with parens. If you do decide to force the use to put the US Area Code in parens, please, please tell the user. I hate to see an input box on a web form for telephone number, enter 555/555-1212, and get some javascript error that I cannot decypher or perhaps some rejection from a CGI script that the number is incorrect. If you intend to force a format, please let the user know.</rant>

Replies are listed 'Best First'.
Re: Re: A question of logic and syntax
by Albannach (Monsignor) on Apr 27, 2001 at 22:42 UTC
    Interesting, as I've never encountered the / version and it is not included in Number::Phone::US either. What are people thinking? There's no farging slashes, brackets or spaces on a telephone anyway! </rant> ;-)

    --
    I'd like to be able to assign to an luser

Re: Re: A question of logic and syntax
by little (Curate) on Apr 27, 2001 at 22:42 UTC
    Present the user with a localized form taht allows himm to enter his telephone number in a format he is used to but store these telephone numbers in a format that applies for all countries.

    Have a nice day
    All decision is left to your taste