[jQuery] Re: Validate groups of input fields, checkbox highlight and reset

2009-09-01 Thread hendra
I one to valideate group of them. I guess for problem 1 and problem 2 is a bug of jQuery validation. I hope the writer will fix the bugs soon. On Aug 17, 1:16 am, Carlos Becar wrote: > The problem is validation , but do you want validate only one radio/checkbox > or group of them, because if

[jQuery] Re: Validate groups of input fields, checkbox highlight and reset

2009-08-16 Thread Carlos Becar
The problem is validation , but do you want validate only one radio/checkbox or group of them, because if it this a group you have validate length for know if at least one checkbox is checked or none one. if none one is checked , method continue with try/catch and add class highlight to all of the

[jQuery] Re: Validate groups of input fields, checkbox highlight and reset

2009-08-16 Thread hendra
Carlos, Thanks for your response for problem #2. I viewed the generated source code using web developer addon-firefox. The has class "valid" instead of "error". So i guess you are right, the problem is with the checkbox validation. I guess this is a bug with Jquery validation. Here is the built

[jQuery] Re: Validate groups of input fields, checkbox highlight and reset

2009-08-14 Thread Carlos Becar
> > 2. Checkbox highlight. I am using a class highlight for all the > errors. I use required checkbox, so at least 1 checkbox must be > checked. If I check the first item, then uncheck, the error message > appear and the error class highlight also successfully displayed. > However, if I check the s

[jQuery] Re: Validate groups of input fields, checkbox highlight and reset

2009-08-14 Thread hendra
i figure the 3rd problem. Here is the solution for those who has the same problem: - use type = reset Reset - and then remove all classes //reset form $('#resetButton').click(function() { $('li').removeClass('error'); $('li').removeClass('highlight'