Skip to content

Checkbox Group - Validation Not Working #582

Closed
@chris-scholl

Description

@chris-scholl

When validating a checkbox group the documentation reads:
Validate qty of checkboxes in a group (same name) have been checked, using min, max or range. Only the first checkbox element in the group needs to have the validation attributes added.

If the validation attributes are not on ALL checkboxes the validation fails.

Here is an example of the behavior, the validation works when checking and unchecking the first checkbox. When you try to check and uncheck any other checkbox in the group, the validation does not occur.

https://codepen.io/chris-scholl/details/eWmOpg

I was adding the validation attributes to all checkboxes as a work-around but this causes the form to slow down and lock up the browser for 5-30 seconds at a time.

Thank you for such an awesome tool. I use JQuery Form Validator everywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions