Re: How to deal with phone numbers
Re: How to deal with phone numbers
- Subject: Re: How to deal with phone numbers
- From: "Albert Jagnow" <email@hidden>
- Date: Wed, 16 Mar 2005 09:59:07 -0600
- Importance: normal
- Priority: normal
I have always just let users enter the numbers in whatever format they
want. The biggest issue for us is that not all of our users are in the
United States so we have to be able to accept international phone
numbers. When I show the users what they entered I just give it back
to them in the exact format they entered. For internal use if I want
to create a standard format I just reformat the number when needed.
--Albert
On Mar 16, 2005, at 9:13 AM, Jeremy Matthews wrote:
Ok,
The three scenarios I can imagine when dealing with phone/fax numbers...
1) Create fields for each set of digits (e.g., field for area code, for
the second set of digits, and another for the third) and limit input by
number of characters in those entry fields within the form
2) Create a single, long text field that performs a check prior to the
EC saving to the DB, and warn the user to reformat in a specific
pattern (i.e., xxx-xxx-xxxx)
3) Create a text field and do not attempt to restrict/control, and
reformat during the DB save
Any experience here? Pros or cons?
Thanks,
Jeremy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden