[jQuery] validation plugin question

2009-04-06 Thread epitka
Can this plugin be used when there is no actual submit, just redirect via tag. However before doing redirect I need to make sure that value entered in the filed is valid?

[jQuery] Re: Jquery validation plugin question

2009-03-27 Thread markstegg...@googlemail.com
Thanks. It gives me an error saying "element.attr is not a function" What is wrong with this: highlight: function(element, errorClass) { if (element.attr("name") == "aupairLanguageList") $("#multiSelect-aupairLanguageList-title").addClass("error"); }, unhighlight: function(elem

[jQuery] Re: Jquery validation plugin question

2009-03-26 Thread Jörn Zaefferer
Use the highlight and unhighlight options for that. Jörn On Thu, Mar 26, 2009 at 3:21 PM, markstegg...@googlemail.com wrote: > > Hello, > > Thanks for building this validation plugin, I like it. I have a > question: > > The error class automatically gets added to the label with the same > for="

[jQuery] Jquery validation plugin question

2009-03-26 Thread markstegg...@googlemail.com
Hello, Thanks for building this validation plugin, I like it. I have a question: The error class automatically gets added to the label with the same for="" name, but for a certain error I need to change the element that gains the "error" class. For instance, I added this line to the error place

[jQuery] validation plugin question

2008-12-12 Thread Sean Allen
playing around with it. don't want to get error messages displayed. i'm just putting in a general error message at top and highlighting required fields. but the label for errors gets created with a display: inline set on the element which is thwarting me from not showing it. looking at the