Closed Anj123 closed 10 years ago
Could you create a test case on jsfiddle.net, please? The code you posted here doesn't make any sense.
I have created the fiddle. Please find the link below: http://jsfiddle.net/Anj123/sr6BG/
You had errors in your HTML, and you were not loading jQuery and h5Validate. It works as expected for me.
Thanks for looking into this issue.
However I tried your code and the dialog box didn't appear.
I am attaching the screenshots for your reference.
Pretty sure that's also due to errors in your code (double check your HTML and selectors), but I'll take another look when I have more time.
I am having the same issue. Any solutions?
For me, as soon as I add the jQuery and h5Validate, it starts supporting patterns defined in html5 validation fields on unsupported browsers, but the error messages stop working,.
Please post your code on jsfiddle. You can use my example above as a starting point.
fahdi: With h5Validate (as specified by the HTML5 specification), the error message that gets displayed is supposed to be the contents of the title attribute for the input. See the error messages section in the documentation. The messages are different from default browser behavior intentionally, so that you can easily customize them to fit in with the look and feel of your application.
Tried implementing h5validate method.
In chrome it works fine, IE does not show up any error messages.It just uses css.