RidgeStar
Services
About
Locations
Reference
Notices
Email
HTML
Internet
Processes
Results Lists
RidgeStar
Security
Tools
Acrobat Reader
Comparator Fields
Compute Age
Date Differences
Dates and Times
Editing Email
Fragment Fields
Phone NumbersPrevious
Shipping Fees
Spelling
Text Format
Sites
Logon

Logon find  Goto

ShortcutGet Started | Calendar | Locations | Search

Reference: Tools-Phone Numbers

The processing of Telephone Numbers from data entry forms, in machine readable files, and at other times, as necessary, can be an imprecise activity. This is the result of differing phone systems and formats throughout the world and, indeed, individuals having specific preferences over style. Of course, RidgeStar Sites are, by their very nature, computer systems that cannot be imprecise and must have a standard and identifiable way to handle data elements of this sort. We offer the following mechanism to accept, process, store, and display telephone numbers based upon the North American phone system.

The following form permits you to enter a phone number string and watch how the RidgeStar routines would process it. The processing used to produce the results are documented at the bottom of this page:

Phone Number Formatting
Input
Valid?Yes
Internal
FormatPhone
DisplayPhone
Action

The form of an input area containing a phone (where aaa=area code, ppp=exchange, nnnn=number, xxxx=extension) is:

[[1[-]][(]aaa[)] ]ppp[-]nnnn[ xxxx]

  • Leading and trailing spaces are ignored
  • The following embedded symbols are removed: ( ) . , - / \
  • If unspecified, the area code has a Site defined default value
  • "1-" (the long distance or "country" code) is not stored and will be removed, if specified