Skip to content

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

Open
jonathansnell wants to merge 1 commit intojaymorrow:masterfrom
jonathansnell:master
Open

make validatr conform to the html5 spec when form elements are disabled#16
jonathansnell wants to merge 1 commit intojaymorrow:masterfrom
jonathansnell:master

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