Skip to content

Display leading 1 (it if exists) when viewing contact phone field #647

@david-fong-bc

Description

@david-fong-bc

This issue ticket follows #601 where we added more contact field types, including for phone numbers (thanks, Chris!). Phone numbers of the form nnn-nnn-nnnn and 1-nnn-nnn-nnnn are supported, but for phone numbers with a leading 1, the leading 1 is not displayed when viewing the metadata record. It is correctly stored, and you can see it when hovering over the tel: link, but it's not displayed in the text of the link. An example of the current HTML when viewing such a metadata record is: <a href="tel:+1-888-123-4567">(888) 123-4567</a>.

I'm not sure how much this impacts user experience. The Home Owner Grant Administration team uses such a phone number for toll-free calls. I've reached out to them to ask if calls will be correctly routed to their team if the leading 1 is omitted when dialing their number. I'm currently waiting for their reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IdeaPark your idea's here, they may become features!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions