top | item 45894468

(no title)

folmar | 3 months ago

This is the place where the date picker does not help the user at all. It's easier to type the, presumably memorized, date, than to look it up in the calendar no matter how nice and handy the calendar is. Sure it does solve validation problem. Or maybe not correctly, don't ask about locales and date adjustments.

discuss

order

nozzlegear|3 months ago

Doesn't the browser automatically a handle locales when using the HTML5 input=date?

folmar|3 months ago

Even if, that does not help. When asked for a birthday I need validation of the date in country when I was born, not the country I'm in, not the locale I'm using for display and not the locale server/requesting company is in.

dotancohen|3 months ago

Date picker widgets do not solve any validation problem, because validation happens on the server side and client input is not to be trusted.

tlamponi|3 months ago

Obviously, but additionally, providing validation on the frontend can help UX a lot. Doing that can provide much quicker feedback compared to an error thrown at the user only after submitting a form, which can get especially annoying if the latter loses (some of) its values due to submission. And one solution for that problem can be using a native picker.