Skip to content
Form validation polyfill for better-dom
JavaScript CSS
Pull request Compare This branch is 135 commits behind chemerisuk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
dist
i18n
src
test
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
LICENSE.txt
README.md
bower.json
index.html
main.sublime-project
package.json

README.md

better-form-validation Build Status

Form validation polyfill for better-dom

LIVE DEMO

Installing

Use bower to download this extension with all required dependencies.

bower install better-form-validation

This will clone the latest version of the better-form-validation into the bower_components directory at the root of your project.

Then append the following script on your page:

<html>
<head>
    ...
    <link rel="stylesheet" href="bower_components/better-form-validation/dist/better-form-validation.css"/>
    <!--[if IE]>
        <link href="bower_components/better-dom/dist/better-dom.htc" rel="htc"/>
        <script src="bower_components/html5shiv/dist/html5shiv.js"></script>
    <![endif]-->
</head>
<body>
    ...
    <script src="bower_components/better-dom/dist/better-dom.js"></script>
    <script src="bower_components/better-form-validation/dist/better-form-validation.js"></script>
    <script src="bower_components/better-form-validation/i18n/better-form-validation.en.js"></script>
</body>
</html>

Browser support

  • Chrome
  • Safari 4+
  • Firefox 16+
  • Opera 12.10+
  • IE8+
Something went wrong with that request. Please try again.