Configure the phone territory selector choice list

By default, an E.164 phone number field always displays the phone territory associated with the phone number.

Changing the system property or adding the dictionary attribute hides the territory selector choice list. If the territory selector choice list is hidden, users can only enter a local or national number.

Figure 1. Phone e164 hide selector
Number field with no selector displayed
Add the following system property to show or hide the territory selector choice list.
Property Description
glide.phone_number_e164.display_territory_selector Determines whether to display the territory selector choice list. Hiding the territory selector choice list restricts users to entering only local or national phone numbers.
  • Type: true | false
  • Default value: true
You can also add the following dictionary attribute to a specific field to override the system property:
Dictionary attribute Description
pn_display_territory_selector Overrides the glide.phone_number_e164.display_territory_selector property setting that determines whether to display the territory selector choice list. Available values are identical to those described above for the glide.phone_number_e164.display_territory_selector property.
  • Type: true | false
  • Default value: true
  • Example: pn_display_territory_selector=false