Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jquery Live Validation

After having a search around I could not find exactly what I want, I am looking to validate a form client side using the Jquery library and some form of validation plugin. I was hoping that some one could advise me on whether there are any validation plugins out there that do not use generic error messages, as my form is laid out with no room for these errors, and I also I want the validator to to for correct content as well.

Basically I want to be able to check the field on each key press and blur and if the fields validates for it to gain a green border, and if it does not validate for it to gain a red border, any one know of a plugin that can do this?

Thanks

sico87

like image 381
Udders Avatar asked Jul 05 '26 06:07

Udders


2 Answers

I don't know what you searched for, but the Validation plugin (first google result for "jquery validation") does exactly what you want... Read the docs that come with it.

like image 67
Oli Avatar answered Jul 07 '26 21:07

Oli


Heres a jQuery plugin that I created and has live form validation also.

http://www.geektantra.com/2009/09/jquery-live-form-validation/

like image 22
GeekTantra Avatar answered Jul 07 '26 22:07

GeekTantra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!