• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to deal with phone numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to deal with phone numbers


  • Subject: How to deal with phone numbers
  • From: Jeremy Matthews <email@hidden>
  • Date: Wed, 16 Mar 2005 10:13:12 -0500

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to deal with phone numbers
      • From: "Albert Jagnow" <email@hidden>
    • Re: How to deal with phone numbers
      • From: David LeBer <email@hidden>
  • Prev by Date: Re: Referencing application from an EOGenereicRecord subclass
  • Next by Date: Re: How to deal with phone numbers
  • Previous by thread: Re: Referencing application from an EOGenereicRecord subclass
  • Next by thread: Re: How to deal with phone numbers
  • Index(es):
    • Date
    • Thread