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