I have used rails4_client_side_validation in my application. I am unable to do client side validation in edit form for registration of devise. This gem is working good with forms of other modules.
<%= form_for(resource, as: resource_name, validate: true, url: registration_path(resource_name), html: { method: :put, class: 'global-form' }) do |f| %>
<%= devise_error_messages! %>
I have included validate: true Besides i also tried with validate: true option in the form field also.
<div class='row'><%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i>
<%= f.password_field :current_password, autocomplete: "off", :validate => true %></div>
I get only server side validation error message as current password required but unable to get client side validation error.