Re: How to deal with a phone number field ?



Am Mittwoch, den 21.01.2009, 17:53 +0100 schrieb Murray Cumming:
On Wed, 2009-01-21 at 12:59 -0200, Arq. Maximiliano Meilán wrote:
Confirmed with Glom 1.8.5, Ubuntu 8.10
When reach the seven digit, Glom leaves the decimal format.
Aritmetical operations works fine, even using diferent formats.


El mar, 20-01-2009 a las 18:25 -0200, Kurt Kraut escribió:
Hi,


I'm trying to build a personal contact database, with fields like
Name, Address, E-mail, Phone Number, Cell phone etc. I'd like to allow
only numbers to be typed in the 'Phone number'

That's unwise. + is a meaningful part of many phone numbers. And people
really like using spaces and brackets.

Other valid characters in phone numbers are: #*pw
In France it is common to use dots as delimiters in phone numbers.
In Germany it is common parentheses around area codes.

 (to avoid typos and
future incompatabilities)  field. Unfortunately, when I input phone
numbers like '12345678' it is converted to '1.23457e+07'.

That's not nice regardless of whether it's for a phone number, so I'll
investigate. Please open a bug if I forget.

Considering all the noise people add to phone numbers it might make
sense to introduce phone-number support to Glom. This support could
consist of just a special text entry that normalizes input before
putting it into the database. Or you'd have a special data type, which
stores the user input version for display and a normalized for matching.

Ciao,
Mathias
-- 
Mathias Hasselmann <mathias openismus com>
http://www.openismus.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]