Start New Discussion within our Web Development Community

Hello guys..

i am developing a "College" website for my college project. I want to use validator as are in on the input fields. please help me by providing guidelines.

To achieve this kind of validation you need to do it with JavaScript. Because if you do it only with, the page will make a request to the server to validate each field.

I recommend that you use jQuery to achieve this functionality without too much headaches.

There's lots of jQuery Form Validation plugins out there, just google a bit that you'll see.

But it's not hard to code your own.

The logic is kind of simple: When a input value changes, validate it's content and if it's not valid, show the warning message.
Take care of hidding the warning message when the input became valid.
It's also nice to differ a empty required field from a invalid content.

This article has been dead for over six months. Start a new discussion instead.