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

make validatr conform to the html5 spec when form elements are disabled #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonathansnell
Copy link

Currently validatr does not conform to the HTML5 for validation of form fields when some of those fields are disabled. See this section of the HTML5 specification:

http://www.w3.org/html/wg/drafts/html/master/forms.html#enabling-and-disabling-form-controls:-the-disabled-attribute

This pull request adds code to ensure that disabled elements are not checked for validity, allowing the form to be submitted.

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

Successfully merging this pull request may close these issues.

1 participant