How can I get the ISD code of the default country in the phone number fields?

Updated on September 5, 2019 10:27PM by Admin

Auto-capturing the ISD code while filling the phone or mobile numbers for that specific country filled in the address field. When a customer fills the phone numbers ISD code for that particular country to be filled automatically in dropdown and text box.

Steps to auto-capture ISD code

Settings Flow

  • Insert a phone filed or choose an existing phone field. In the Inspector tab, from the Phone Dropdown properties, you will find a behaviour named ‘Default Country Code’.

Default country code

  • Add Country (Insert Attribute functionality) will support Standard as well as Custom address attributes.
  • Click on the Add Country and select the Address Information (Standard & Custom):
    • Communication
    • Billing address
    • Shipping address
  • Depending upon the Address Information (Standard or Custom), the country code will be auto fetched by the Country provided in the Address chosen.
  • Go to the "Show All" page in the Contacts app.
  • You can find the phone number field auto-captures country code based on the Communication address information.

phone field