# ClientSideValidations Initializer # Disabled validators. The uniqueness validator is disabled by default for security issues. Enable it on your own responsibility! ClientSideValidations::Config.disabled_validators = [:uniqueness, :confirmation] # Uncomment to validate number format with current I18n locale # ClientSideValidations::Config.number_format_with_locale = true # Uncomment the following block if you want each input field to have the validation messages attached. # # Note: client_side_validation requires the error to be encapsulated within # ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| unless html_tag =~ /^