i am creating a sign up form in which there are 7 required fields, i want to validate those required fields using javascript. i tried if-else block but its troublesome and confusing, is there any other way to do those required field validation in javascript, without using jQuery validation library?
感谢。