Configure a Field Type - Phone Number

Snow Tomcal
Tera Expert

Hi All,

I want to use the field type phone number but my country is not included in the list.

How can I add a country to the list?

Another question is how can I create a new type (for example: 4+ digits string ).

 

Thanks:)

6 REPLIES 6

OlaN
Giga Sage
Giga Sage

Hi,

The countries that exist in a Phone number field is dependent on the [sys_phone_territory] table.

You can add a new country in this table if your specific country does not exist.

 

These records depend on records that specify available phone number formats [sys_phone_format] for each country.

So after creating a new country, you would also need to create one or several phone number formats.

I need a phone number without the + in the begging is it possible?

Then I would recommend using a regular String field, and use Regex validation on the field.

Optionally you can create a Integer field, if you want to force using only digits on the field.

It's a back office field so it is possible to use a script for validation with regex and I want to avoid this.