Phone number PCF widget

PCF widget GlobalPhoneInputSet provides a way to show phone-related fields in PolicyCenter. The phone-related fields that you see in PolicyCenter depend on the following:

  • Country information that the user selects
  • Screen mode, which is editable or read-only

You initialize the GlobalPhoneInputSet widget by providing the InputSetRef with a PhoneOwner. You initialize a PhoneOwner by providing a PhoneFields object.

Edit mode

If the screen is in edit mode, a PolicyCenter user has access to the following phone-related fields, set in the PCF widget GlobalPhoneInputSet:

  • Country code
  • National subscriber number
  • Extension
Note: The user-entered value of an extension can be no longer than seven characters. The length is enforced in the validator expression for the field.

Read-only mode

If the screen is in read-only mode, a PolicyCenter user views previously entered phone-related information, the format of which depends on the phone country code.