{"action":"closed","issue":{"url":"https://api.github.com/repos/zoltan-dulac/html5Forms.js/issues/19","labels_url":"https://api.github.com/repos/zoltan-dulac/html5Forms.js/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/zoltan-dulac/html5Forms.js/issues/19/comments","events_url":"https://api.github.com/repos/zoltan-dulac/html5Forms.js/issues/19/events","html_url":"https://github.com/zoltan-dulac/html5Forms.js/issues/19","id":38304174,"number":19,"title":"Problems with required input on IE","user":{"login":"whgibbo","id":8224638,"avatar_url":"https://avatars.githubusercontent.com/u/8224638?v=3","gravatar_id":"","url":"https://api.github.com/users/whgibbo","html_url":"https://github.com/whgibbo","followers_url":"https://api.github.com/users/whgibbo/followers","following_url":"https://api.github.com/users/whgibbo/following{/other_user}","gists_url":"https://api.github.com/users/whgibbo/gists{/gist_id}","starred_url":"https://api.github.com/users/whgibbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whgibbo/subscriptions","organizations_url":"https://api.github.com/users/whgibbo/orgs","repos_url":"https://api.github.com/users/whgibbo/repos","events_url":"https://api.github.com/users/whgibbo/events{/privacy}","received_events_url":"https://api.github.com/users/whgibbo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-07-21T13:49:36Z","updated_at":"2015-01-29T02:17:36Z","closed_at":"2015-01-29T02:17:36Z","body":"Hi,\r\nI've been using Html5Forms.js for a while, good work :)\r\n\r\nI have recently stubble over a problem with a required field.  I have take the example test patternRequired.html and made the following change from :\r\n\r\n     <input type=\"text\" name=\"fullName\" value=\"\" required=\"required\" />\r\n\r\nto:\r\n\r\n    <input type=\"text\" name=\"fullName\" value=\"\" required=\"required\" oninvalid=\"this.setCustomValidity('blah2');\" onvalid=\"this.setCustomValidity('');/>\r\n\r\nas I wanted to change the message that was being displayed depending on the language of the user.\r\n\r\nNow if you load the page on IE8 (or IE 12 but in IE8) mode and don't enter anything and press enter.  You will see the 'blah2' appear on the full name field. :)\r\n\r\nNow enter some text into the fullname input and press enter again.  It now always displays the blah message and the only way to get rid of the message is to reload the page.  :(\r\n\r\nAny ideas ?\r\n\r\nThanks"}}