jquery-validation-foundation
Extends jQuery Validation with default configs to work with Foundation 5 form CSS.
Installation
Add jquery-validation-foundation as a requirement to bower.json:
{
"dependencies": {
"jquery-validation-foundation": "git@github.com:npmweb/jquery-validation-foundation"
}
}Usage
Instead of calling $("#myform").validate(...);, call $("#myform").validate_foundation();. It accepts all the same parameters.
License
This code is open-sourced under the MIT license. For more information, see the LICENSE file.