JavaScript Form Validation

Published 2022-08-01
Learn how to validate form inputs with JavaScript. In this tutorial you gonna see how to create simple JS custom validations!

-----------------------------

You may also like:

⌨️ Responsive Sidebar Manu:
   • Responsive Sidebar menu HTML CSS  

📲 Responsive Registration Form
   • Responsive Registration Form in HTML ...  

📊 Responsive Navigation Bar
   • Responsive Navigation Bar with HTML a...  

📱 Transparent Login Form
   • Transparent Login Form Using HTML & CSS  

📜 Login Form With Only HTML & CSS
   • Login Form using HTML and CSS | Web d...  

Source code can be found here: github.com/GvidasGVD/jsFormValidation

All Comments (12)
  • @deleajayii
    Thanks for the video, but how do I validate for "email" field?
  • @oritsegbemi
    for over 4 hours I've been struggling with a long code. thank you so much.
  • can you tell me as a beginner how much JavaScript i should learn? for example i do know about addEventListener, but here the syntax is a bit different Hope you understood my question
  • how to call the function with each of these variables as an argument emailaddress variable and emailconfirm variables Do you know how to make two of the same emails need to match and is that client side validation or server side? Inquiry of js on html form
  • @fiddletomiko
    I have this problem crbug/1173575, non-JS module files deprecated, instead showing of these error it goes directly to my files
  • @aribakhan7322
    can you tell me how to add regex here? I added, but it didn't work, I don't know not why. It worked first then don't work any more
  • @nrazuke
    how do you change the push message color??