This, but for form validation too https://twitter.com/fivetanley/status/942453425719136258 …
-
This Tweet is unavailable.
-
-
Replying to @mkawia
I mean: if possible use the browser's built-in form validation, rather than a 3rd party library (or rolling your own). It's hard to get right, and chances are things like accessibility are glossed over in favor of getting things to work at all.
2 replies 0 retweets 0 likes -
Replying to @mkawia
Oh no, there's like way more you can do. Validate input types, file types, length, required, max length, min length, the works - even custom error messages using native APIs. There's few reasons to roll your own these days.
11:32 AM - 18 Dec 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.