30

Whoever the programmer of this form has not seen the world outside their own country.

Comments
  • 5
    The opposite happens over here. They always detect my last name as too long.
  • 1
    Those validations make no sense 😂
  • 5
    Each digit of a mobile number is transmitted through the connection established by the previous digit and switching happens entirely on the receiving side, which means that the length of a phone number is technically unlimited.
  • 9
    @eo2875 @jasongodev
    I’ve run into so many of these problems in production. I don’t understand why people overzealously validate personal data.

    Valid names can range from “Ko Bip” to (as I just found online) “Anna Bertha Cecilia Diana Emily Fanny Gertrude Hypatia Inez Jane Kate Louise Maud Nora Ophelia Prudence Quince Rebecca Sarah Teresa Ulysis Venus Winifred Xenophon Yetty Zeno Pepper”

    The longest legit name I’ve personally seen in production was Czech. The shortest legal name could be a single letter first name, no middle or last name.
  • 6
    @Root one of the skandinavian countries have Å as an village name.
  • 1
    But your last name 𝘪𝘴 too short. What if it was just a comment, not a validation error.

    Do you specialise in json and go?
  • 7
    The real problem with these validations is that not only do the block legitimate users, they do nothing to block illegitimate ones as its very easy to provide fake data.

    So if you really need to verify it for legal or technical reasons you need some other way.
  • 1
    @lbfalvy there is a format called E.164 which limits the number up to 15. The form I featured here does not respect the e.164 format.
  • 1
    @electrineer "what's your age? 13?! What a dweeb. Get in there, we don't have an age restriction or anything it's just funny.

    Yours truly,
    AWS Ubuntu server"
  • 2
    Note to self: Name future youngling like a SQL injection
  • 5
    I work in the USA from Canada. Our product owners drive a lot of internationalization problems by being ethnocentric.

    I say we should keep track of the currency and they say it is fine in USD. I say we might need to allow the user to use a comma instead of a period as a decimal and they say nah. I say the responsiveness in the layout is not good for extremely long or short translations they say it looks fine in English. I think we should be generous with name lengths they say 50 chars max.

    Holy shit we need to fix this for users in Turkey it is a deal breaker. Holy shit the Koreans aren’t okay with this. Holy shit the French can’t type in numbers. Holy shit the layout breaks for polish users. Holy shit we can’t release in the UAE because Arabic is right to left. It was all avoidable if they had listened to me when I shared my knowledge of internationalization. Fucking Americans and their assumption that the world magically runs on American dollars.
Add Comment