How do i hide a field formatted for Phone Number E164?

Tony98
Mega Expert

I have a field formatted as Phone Number type (E164):

find_real_file.png

I don't want to have to choose the North America format each time.

How do i hide it and always set it to North America.

I have done some research and it looks like i can change the format for the Instance - not for just my Application. It must only change on my Application.

Any ideas?

thanks

Tony

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

You can Configure the Phone Territory Selector Choice List as per below documentation



By default, an E.164 phone number field always displays the phone territory associated with the phone number. Changing the glide.phone_number_e164.display_territory_selector system property or adding the pn_display_territory_selector 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.



I can't add the first change to system properties (Changing the glide.phone_number_e164.display_territory_selector) as we use the Territory Selector elsewhere.



After careful reading and trying to understand what is going on IO firstly added the Attribute to the Dictionary Entry:


find_real_file.png


Tested - didn't work.




So I tried adding the attribute another way - but got confused as to what i should be choosing:


find_real_file.png


find_real_file.png


find_real_file.png


Am I going in the right direction?


update your attribute on your dictionary to:

pn_display_territory_selector=false

This was helpful but while submitting the form it shows an error as "Invalid phone number"