Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Storing phone numbers

Hi Guys,

Currently, if you store a phone number in this format: +44 (0) 1234 567 890 it will save like this: 4401234567890.

Now, I can see why the phone numbers were stored this way (it's easier to validate as a phone number if you just store digits, plus the database can be set to numbers only rather than varchar), and honestly, it wouldn't be a problem if all our offices and clients were in the same country.

However, could there be some way to save phone numbers in this format? Perhaps it's possible to compromise by adding a national prefix field?

Comments

  • I agree.  Also for those of us in the states if we could have the number presented as (000) 000-0000 as well as requiring the area code as mandatory in addition to the actual phone number for those of us that provide support across multiple states it would be extremely helpful.
Sign In or Register to comment.