Reputation: 461
My html5 input types' required tags are not working in Safari. When I try to submit without filling in the required fields, it just goes through. :( It supposed to have warning or reminder telling to fill in the fields.
Please help me. Thank you!
Upvotes: 1
Views: 2332
Reputation: 161
Safari doesn't currently support this but it's coming in Safari 10.1 (the next release).
In the mean time there are some nice javascript workarounds in the post Required Attribute Not work in Safari Browser
Upvotes: 0
Reputation: 566
Safari doesn't support HTML5 validation, you can use Webshim (a polyfill library that enables you to reliably use HTML5 features across browsers, even if native support is lacking).
Upvotes: 0
Reputation: 943510
Safari doesn't (yet) support that feature of the HTML 5 Candidate Recommendation.
Either implement a JavaScript shim, or depend on your server side validation in Safari.
Upvotes: 2