Validator.validate-one-required bug on Form.validator.inline #1130

Open
pleasedontbelong opened this Issue May 28, 2012 · 0 comments

Comments

Projects
None yet
1 participant

pleasedontbelong commented May 28, 2012

if you have a fieldset of two (or more?) checkboxes, one with the "validate-one-required", the only way to make the error disappear is to select the checkbox that has the "validate-one-required" class.

To reproduce the bug:

  • visit the "Enhanced Forms" page at http://mootools.net/demos/?demo=Enhanced-Form
  • Click "Send" (without filling anything in the form). The checkboxes will display an error "Error: Please enter something for at least one of these inputs."
  • Click the "Yes" checkbox and loose focus. The error message won't disappear. It will only disappear if you select "No"

However, the validation works.. it's not a functional bug..

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/359791-validator-validate-one-required-bug-on-form-validator-inline?utm_campaign=plugin&utm_content=tracker%2F22069&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F22069&utm_medium=issues&utm_source=github).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment