0

I am currently using ActiveModel (no database attach to that model) for Ruby on Rails Project.

Is there any simple method to do client side form validation. I still cannot find useful one.

1 Answers1

-1

Not out of the box. Have you watched the relevant RailsCast? http://railscasts.com/episodes/263-client-side-validations

davidfurber
  • 5,274
  • 1
  • 20
  • 11
  • I got following error after i tried that tutorial................ wrong number of arguments (3 for 2) <%= form_for @user, :validate => true do |f| %> Any Idea Please? –  Jun 13 '13 at 15:39
  • Have you looked here? http://stackoverflow.com/questions/17062896/rails-client-side-validation-form-for-error – davidfurber Jun 14 '13 at 00:42
  • 3
    On homepage for that client-side-validation gem is written: "This library is no longer being maintained. Use at your own risk" – jasin_89 Sep 17 '13 at 08:07