June 28, 2017 12:41 pm GMT
Original Link: https://css-tricks.com/form-validation-part-3-validity-state-api-polyfill/
Form Validation Part 3: A Validity State API Polyfill
In the last article in this series, we built a lightweight script (6kb, 2.7kb minified) using the Validity State API to enhance the native form validation experience. It works in all modern browsers and provides support IE support back to IE10. But, there are some browser gotchas.
Not every browser supports every Validity State property. Internet Explorer is the main violator, though Edge does lack support for tooLong
even though IE10+ support it. And Chrome, Firefox, and Safari got …
Form Validation Part 3: A Validity State API Polyfill is a post from CSS-Tricks
Original Link: https://css-tricks.com/form-validation-part-3-validity-state-api-polyfill/
Share this article:
Tweet
View Full Article