Form Validation Part II - JS and the Constraint Validation API

Published: 09 February 2021
on channel: Steve Griffith - Prof3ssorSt3v3
6,179
208

So, the browsers have built-in validation based on those HTML attributes like `required` and `maxlength` and `type`. We can leave everything to the browser for its basic validation or we can completely write our own custom JS validation... But wouldn't it be nice to tap into the browser's mechanism for validation and combine it with our own scripts?
Now, thanks to the Constraint Validation API, we can.

Link to PART I -    • Form Validation I - HTML and CSS  

Code from video: https://gist.github.com/prof3ssorSt3v...


Watch video Form Validation Part II - JS and the Constraint Validation API online without registration, duration hours minute second in high quality. This video was added by user Steve Griffith - Prof3ssorSt3v3 09 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,17 once and liked it 20 people.