• Kalash@feddit.ch
    link
    fedilink
    arrow-up
    25
    ·
    edit-2
    11 months ago

    Maybe I’m missing something, but I think this makes sense.

    You selected the UK, but are entering a number with US dailing code. So it’s an invalid number in the UK, but it’s a possible phone number since you could select the US instead?

    Also usually when you select the country separately, wouldn’t you omit the country specific dailing code?

    • dave@feddit.ukOP
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      11 months ago

      Yeah, I’m in the uk and it was the default cc. I entered a us fictitious number, which gave that error. No variations of uk numbers, with or without the international prefix would work either. This was just the funniest of the validation errors.

      And if it can validate international numbers, why ask for the country code separately?

      • Ixsh@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        11 months ago

        The US number is not valid due to the following rules: “Using 0 or 1 as the first digit of an area code or central office code is invalid, as is a 9 as the middle digit of an area code; these are trunk prefixes or reserved for North American Numbering Plan expansion.“ *

        I’m sure you tried other numbers, but the number in the image fails due to that specific reason.

        *Wiki Link

        • dave@feddit.ukOP
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          11 months ago

          Nice to know. It was the sites “e.g.” number under the input field so I just copied and pasted.

        • usualsuspect191
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          Maybe I’m misunderstanding, but the 1 st the beginning here is the country code is it not? I don’t get why the number isn’t accepted (can someone in the UK from North America not keep using their number?)

      • slazer2au@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        11 months ago

        If you want a fake number and in the UK look up the OFCOM tv number ranges. They are like the US 555 numbers valid but non connected in post cases.