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!
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!
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.
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).
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