HTML5 Form Validation on Safari doesn't work

NEW
Unassigned

Status

6 years ago
6 years ago

People

(Reporter: mkelly, Unassigned)

Tracking

Details

Attachments

(1 attachment)

447.40 KB, application/x-shockwave-flash
Details
(Reporter)

Description

6 years ago
If a user submits a video or submits the profile form in Safari and doesn't fill out a required field, they are shown the form again with no indication of what was wrong.

According to http://caniuse.com/form-validation, Safari supports HTML5 Form Validation but does not notify or stop the user when submitting a form that has failed validation. This also means that our JavaScript shim that detects if a browser supports form validation fails because it thinks that Safari supports it and thus it doesn't need to validate the form itself.

A possible solution is to have the JavaScript-based form validation run all the time; since it should in theory only run when the form is considered valid by browsers that support HTML5 validation, it shouldn't ever show an error message when it doesn't need to.
Created attachment 748941 [details]
safari behavior
You need to log in before you can comment on or make changes to this bug.