Hi I am doing validation on a form, but instead of throwing an alert on empty fields I want to highlight those fields maybe with a yellow color indicating error. if all are empty, then i would like to show only 1 generalized error message "Pls. fill the highlighted textboxes.". how do i do this and thanks in advance.
For your reference javascript-coder.com/html-form/form-validation.phtml tetlaw.id.au/view/javascript/really-easy-field-validation webcheatsheet.com/javascript/form_validation.php Sample project rickharrison.github.com/validate.js/ Refence Code github.com/vivin/regula/wiki github.com/icanberk/JS-Form-Validator
Use this jquery tools form validation: http://jquerytools.org/release-notes/index.html#form It is the easiest to understand and is quite well documented too. Also no licence restrictions.