[jQuery] Re: Naming rules by class

2008-12-16 Thread ycuentocorto
Well, the restriction is add field validators without knowing the id (I'm working with C# and I'm adding fields dinamically to the form), my option was try to add validator without add a lot of code in tags (for example utilizing the title for every error message because are used for usability and

[jQuery] Re: Naming rules by class

2008-12-15 Thread Kean
The answer is yes. I have no idea if there's a validation widget out there that fulfill your needs. Just a quick example of how you can probably build the widget on your own. jQuery(function($){ $("input.required").blur(function(){ if (this.val.length == 0) alert("field is requir