Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated required alert on radio button #18

Open
bboyle opened this issue Jan 31, 2012 · 4 comments
Open

Repeated required alert on radio button #18

bboyle opened this issue Jan 31, 2012 · 4 comments
Labels

Comments

@bboyle
Copy link
Owner

bboyle commented Jan 31, 2012

  1. Create a form with a radio button group that is required and no item is selected by default
  2. Submit the form. One 'must be completed' alert should be shown
  3. Submit again. Only one 'must be completed' alert should be shown.

Sometimes multiple errors are appearing. May be an old version of the script and already be fixed.

Test coverage?

@bboyle
Copy link
Owner Author

bboyle commented Jan 31, 2012

See #1 and #7

@bboyle
Copy link
Owner Author

bboyle commented Feb 1, 2012

Confirmed this bug exists.

@bboyle
Copy link
Owner Author

bboyle commented Apr 4, 2012

This bug seems to be caused when the label for the radio button group cannot be found.

Issues:

  • using label instead of legend for the fieldset containing the group
  • not having a fieldset wrapper for the radio buttons
  • not having span.label within the legend for the fieldset

All of these are issues with the markup patterns. They do not require fixes to the javascript.

@bboyle
Copy link
Owner Author

bboyle commented Aug 1, 2012

Nesting span.label within another span causes this bug too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant