No commit activity in last 3 years
No release in over 3 years
Provides client side validations for forms with the http://formvalidation.io/ library.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.0

Runtime

 Project Readme

formvalidation-rails (0.8.1)

Provides client side validations for forms with the http://formvalidation.io/ library.

The original formvalidation repo can be found here: https://github.com/formvalidation/formvalidation. This is only a gem containing a release version for easier use.

Important

For commercial use a commercial license for formvalidation.io needs to be purchased at http://formvalidation.io/. This gem only provides a package for easier use with RubyOnRails but does not affect the original license of formvalidation.io.

How to Use

Add and install this gem

Add into your Gemfile

gem 'formvalidation-rails'

In your Rails directory run

bundle install

Add the needed parts to your asset pipeline

Add into your application.js

//= require formvalidation.min

And if needed the extension (for html frameworks) and language packs you need:

//= require formvalidation/framework/bootstrap.min
//= require formvalidation/language/de_DE

Add into your application.css

*= require formvalidation.min

Contributors

Thank you to lorastus for always sending pull requests with the updates to the latest formvalidation :)

Credits

This gem was build after the example of https://rubygems.org/gems/bootstrap-validator-rails, a earlier version of formvalidation.io under a different name.