I am using the client_side_validations gem.
- How can I change styles if valid or if it is passed?
- How can I remove or reset all form errors?
I am using the client_side_validations gem.
You have to over write the callback specifically. A good example is with the DockYard website: https://github.com/dockyard/dockyard.com/blob/master/app/assets/javascripts/rails.validations.callbacks.js