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
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
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
>
> 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
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'
5 matches
Mail list logo