I have a registration form which I need to validate before submit. The form has the following fields:name,email, and password. I need the name to have a value, the email to have the correct format, and the password to be at least 6 characters.
What is the best way to do all this validation and hightlight incorrect fields live before submit?
Thanks,
Brad
If you’re using jQuery, you may want to look into a jQuery validation plugin. This one seems to be popular, and looks pretty nice. If you’re not using jQuery, you probably should be. 😉