-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Look into a cross-browser solution for client-side validation of forms. #207
Comments
Have you tried something like http://jqueryvalidation.org/documentation ? |
Thanks, @webmaven! I had not tried that, but it looks like it might do the trick. What do you think, @anselmbradford ? |
Sure, worth a check. Just needs to fallback gracefully in IE8 (if you want to comprehensively support XP), but since it's been around since '06 that's probably not a problem. |
Hello! This issue looks like it still needs help! If you wrote this issue, you can always update the labels for specifying tasks, add more info in the description to make it easier to contribute, or re-write the title to make more contributors interested in helping out. Just doing a little 🌱 open source gardening 🌱 of Brigade projects! |
In browsers like Chrome and Firefox, when an input field has the
required
attribute enabled, an alert appears within the field to let the user know they haven't filled it out (after submitting the form). This feature is not supported in IE <10, iOS and OS X Safari, and the default Android browser.Since we already have server-side validation in place, I recently disabled the
required
attribute until we can find a suitable cross-browser solution, such as the ones recommended in this guide:http://www.html5rocks.com/en/tutorials/forms/constraintvalidation/#toc-polyfilling
The text was updated successfully, but these errors were encountered: