-1

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?
iHiD
  • 2,450
  • 20
  • 32
Rails beginner
  • 14,321
  • 35
  • 137
  • 257

1 Answers1

0

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

bcardarella
  • 4,667
  • 4
  • 29
  • 45