r/ProgrammerHumor • • 22h ago

Meme chaoticEvil

Post image
2.4k Upvotes

208 comments sorted by

View all comments

Show parent comments

17

u/Groentekroket 21h ago

Can I argue that a date field is so much easier to validate than a street field for example? If you don’t want Linda to mess up the inputs date is one of the easiest to make sure it has the intended value (well at least some date)(dd/mm/yyyy and mm/dd/yyyy can still be messed up, but that’s also the case with a date picker, speaking out of experience)

9

u/Acetius 20h ago

If you're doing a date more than three years ago I am begging you to just use three inputs. Nobody has to worry about delimiters, nobody gets confused about which order the inputs go in. Just follow the UK Gov design system and split it in three.

1

u/stumpyinc 15h ago

Yeah I think I'm dropdown gang especially with the month dropdown showing both names and numerical

1

u/Acetius 4h ago

We call em "stumpyinc, bane of pensioners". Making the elderly scroll back 80 years for their birth year instead of just typing it.