Alex Rivera | Logout

jQuery - Live Validation Plug-ins

Asked 2008-10-16T15:44:31.803
9

I'm looking for a plugin for jQuery that can validate as a key is pressed and after it loses focus (text boxes).

I'm currently using jVal - jQuery Form Field Validation Plugin. It works pretty good. The only issue I have is that I can only use a generic error message.

For example: I need a string to between 2 and 5 characters. If its too short I would like to display an error message that indicates it to short, equally if its too long. I know I could display an error message that requires the string to between 2 and 5 characters. The validation that is being done is more complicated.

Any ideas of other validators or how I could use this plug-in to display unique error messages.


Edit:

The validation tool needs to prevent particular letters or numbers and not require a form.

Thanks

Edit
Report

1 Answer

2

for me the best would be http://livevalidation.com/ or the one from baseassistance http://bassistance.de/jquery-plugins/jquery-plugin-validation/

jVal and live-form-validation can be ok, but I think the whole point of usin gjQuery is to use clean unobstructive code, and they require so much mess it's not an option for me.

I guess live-form-validation will evolve in the future, really weird to have to type thw whole regular expression to validate an email in each form....

answered 2009-10-08T13:01:56.710

Your Answer