Enable validation to hidden element using ClientSideValidations
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor/assets/javascripts
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
client_side_validations-with_hidden.gemspec

README.md

ClientSideValidationsWithHidden

Enable validation to hidden element using ClientSideValidations

Install

In your Gemfile add the following:

gem 'client_side_validations'
gem 'client_side_validations-with_hidden'

Add the following line to app/assets/javascripts/application.js

//= require rails.validations
//= require rails.validations.with_hidden

License

Licensed under the MIT license